fix: set back to original with isset test
This commit is contained in:
@@ -179,6 +179,7 @@ class BookSearch
|
||||
$books = array();
|
||||
if(isset($results['response']['docs']) && is_array($results['response']['docs'])) {
|
||||
foreach($results['response']['docs'] as $r) {
|
||||
if (!isset($r['id'])) continue;
|
||||
$books[] = $r;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user