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

--HG--
branch : develop
This commit is contained in:
kervala 2015-12-23 15:30:52 +01:00
parent cfd905b4a9
commit a86a013a16

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));