From 5d0847b19a2e0449cdcf88a726ae0dd98a6676fd Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Mon, 6 May 2013 19:42:54 -0400 Subject: util.json: Fix variable name typo which broke util.json when util.array was missing. --- util/json.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/json.lua') diff --git a/util/json.lua b/util/json.lua index 6251af1a..67276765 100644 --- a/util/json.lua +++ b/util/json.lua @@ -17,7 +17,7 @@ local newproxy, getmetatable = newproxy, getmetatable; local print = print; 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") local json = {}; -- cgit v1.2.3