Json changes

This commit is contained in:
Taras Machyshyn
2013-11-28 13:50:22 +02:00
parent 1423c6624e
commit 7f5cbab953
+1 -1
View File
@@ -85,7 +85,7 @@ class Json
* @return bool
*/
public static function isJSON($json){
if ($json=='[]') {
if ($json=='[]' || $json=='{}') {
return true;
}