summaryrefslogtreecommitdiffstats
path: root/lua/mvc.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2014-03-31 00:05:00 +0000
committerTed Trask <ttrask01@yahoo.com>2014-03-31 00:05:00 +0000
commit6a25f6d50ad8a0484d2397eb9fd368dcb1ad8d70 (patch)
tree1d8faa7f41b7b7f3717f55a930939db9111740c5 /lua/mvc.lua
parentd888fae782bc4aaa763873befcf3307097739fd1 (diff)
downloadacf-core-6a25f6d50ad8a0484d2397eb9fd368dcb1ad8d70.tar.bz2
acf-core-6a25f6d50ad8a0484d2397eb9fd368dcb1ad8d70.tar.xz
Change prototype of htmlviewfunctions.dislay item to make consistent
Note: this breaks backward compatibility
Diffstat (limited to 'lua/mvc.lua')
-rwxr-xr-xlua/mvc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/mvc.lua b/lua/mvc.lua
index 31846ab..8735942 100755
--- a/lua/mvc.lua
+++ b/lua/mvc.lua
@@ -341,7 +341,7 @@ end
mymodule.auto_view = function(viewtable, viewlibrary, pageinfo, session)
if pageinfo.viewtype == "html" then
local htmlviewfunctions = require("htmlviewfunctions")
- htmlviewfunctions.displayitem(viewtable, 1, pageinfo)
+ htmlviewfunctions.displayitem(viewtable, pageinfo)
elseif pageinfo.viewtype == "json" then
local json = require("json")
print(json.encode(viewtable))