more data checking, cleans up some infrequent php errors
This commit is contained in:
parent
7c6bc5a93d
commit
79f3bbbf2b
2 changed files with 10 additions and 0 deletions
|
|
@ -58,6 +58,9 @@ function poco_load($cid,$uid = 0,$url = null) {
|
|||
|
||||
logger('poco_load: json: ' . print_r($j,true),LOGGER_DATA);
|
||||
|
||||
if(! isset($j->entry))
|
||||
return;
|
||||
|
||||
$total = 0;
|
||||
foreach($j->entry as $entry) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue