summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2015-06-05 22:12:42 -0400
committerTed Trask <ttrask01@yahoo.com>2015-06-05 22:12:42 -0400
commit10e49f14d9d219a961a414b8c346435dcfc3b95d (patch)
tree92f019dc082651d424c6901bbc4064edb73bc924 /app
parentbe9beb6bf6d4688043d5f80b75bfb2aa6aa8670a (diff)
downloadacf-core-10e49f14d9d219a961a414b8c346435dcfc3b95d.tar.bz2
acf-core-10e49f14d9d219a961a414b8c346435dcfc3b95d.tar.xz
Use cfe.print_errtxt in htmlviewfunctions.displaycommandresults and make sure results are cfes
Diffstat (limited to 'app')
-rw-r--r--app/acf_www-controller.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/acf_www-controller.lua b/app/acf_www-controller.lua
index 7fdf998..1fd16d5 100644
--- a/app/acf_www-controller.lua
+++ b/app/acf_www-controller.lua
@@ -179,7 +179,7 @@ local redirect_to_referrer = function(self, result)
elseif self.sessiondata[self.conf.action.."result"] then
-- If we don't have a result, but there's a result in the session data,
-- then we're a component redirected as above. Return the last result.
- result = self.sessiondata[self.conf.action.."result"]
+ result = cfe(self.sessiondata[self.conf.action.."result"])
self.sessiondata[self.conf.action.."result"] = nil
end
return result