Fixed: Warning when $json was empty (but perhaps we should fix the real reason...)

This commit is contained in:
kervala 2015-12-23 15:30:52 +01:00
parent 590dfeebc1
commit 1b136d55aa

View file

@ -357,7 +357,7 @@ class Users{
//error_log(print_r($rows,true));
//error_log(print_r($result,true));
//error_log(print_r($json,true));
foreach ($json as $key => $value) {
if ($json) foreach ($json as $key => $value) {
//error_log(print_r($key,true));
//error_log(print_r($value,true));