Fixed: Warning when $json was empty (but perhaps we should fix the real reason...)
--HG-- branch : develop
This commit is contained in:
parent
cfd905b4a9
commit
a86a013a16
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ class Users{
|
||||||
//error_log(print_r($rows,true));
|
//error_log(print_r($rows,true));
|
||||||
//error_log(print_r($result,true));
|
//error_log(print_r($result,true));
|
||||||
//error_log(print_r($json,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($key,true));
|
||||||
//error_log(print_r($value,true));
|
//error_log(print_r($value,true));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue