# HG changeset patch # User Waqas Hussain # Date 1367883774 14400 # Node ID a6b8fb827e2a7ef53ae0f1c96402ceda01e4291b # Parent 52eef11cd8afd843b84043a70a5fdceac7ade4b6 util.json: Fix variable name typo which broke util.json when util.array was missing. diff -r 52eef11cd8af -r a6b8fb827e2a util/json.lua --- a/util/json.lua Sun May 05 15:02:33 2013 -0400 +++ b/util/json.lua Mon May 06 19:42:54 2013 -0400 @@ -17,7 +17,7 @@ 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 = {};