From fcaab1b363fcd5ff2dccce8f98cacabc5635ba5f Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 9 Oct 2013 19:24:30 +0000 Subject: Change use of require to work with Lua 5.2 --- lib/htmlviewfunctions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/htmlviewfunctions.lua') diff --git a/lib/htmlviewfunctions.lua b/lib/htmlviewfunctions.lua index 3d6efde..6f7512a 100644 --- a/lib/htmlviewfunctions.lua +++ b/lib/htmlviewfunctions.lua @@ -1,7 +1,7 @@ module(..., package.seeall) html = require("acf.html") -require("session") +session = require("session") local function getlabel(myitem, value) if myitem and (myitem.type == "select" or myitem.type == "multi") then -- cgit v1.2.3