Fixed: Warning when $json was empty (but perhaps we should fix the real reason...)
This commit is contained in:
parent
590dfeebc1
commit
1b136d55aa
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($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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue