util.json: Fix variable name typo which broke util.json when util.array was missing.

This commit is contained in:
Waqas Hussain 2013-05-06 19:42:54 -04:00
parent 8098be4eb1
commit eed78bab7e

View file

@ -17,7 +17,7 @@ local newproxy, getmetatable = newproxy, getmetatable;
local print = print; local print = print;
local has_array, array = pcall(require, "util.array"); local has_array, array = pcall(require, "util.array");
local array_mt = hasarray and getmetatable(array()) or {}; local array_mt = has_array and getmetatable(array()) or {};
--module("json") --module("json")
local json = {}; local json = {};