Fix #219 error while loading menu type

This commit is contained in:
Kijin Sung 2016-02-06 21:05:12 +09:00
parent 184cbf704b
commit 93ef1b295f

View file

@ -45,7 +45,7 @@ class JSONDisplayHandler
} }
foreach ($array as $key => $value) foreach ($array as $key => $value)
{ {
if (intval($key) != $key) if (!is_numeric($key))
{ {
return false; return false;
} }