util/json.lua
changeset 5562 a6b8fb827e2a
parent 5561 52eef11cd8af
child 5563 678867c552d1
--- 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 = {};