diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-03-31 00:05:00 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-03-31 00:05:00 +0000 |
commit | 6a25f6d50ad8a0484d2397eb9fd368dcb1ad8d70 (patch) | |
tree | 1d8faa7f41b7b7f3717f55a930939db9111740c5 /lua/mvc.lua | |
parent | d888fae782bc4aaa763873befcf3307097739fd1 (diff) | |
download | acf-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-x | lua/mvc.lua | 2 |
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)) |