use improved method for get(Old)Circulations
This commit is contained in:
@@ -157,7 +157,7 @@ class AudioBook extends DbMapping
|
||||
$row['cover'] = 'http://ecx.images-amazon.com/images/I/'.$row['cover'].'._SL320_.jpg';
|
||||
}
|
||||
|
||||
$books[] = $raw ? $row : new AudioBook($row);
|
||||
$books[$row['id']] = $raw ? $row : new AudioBook($row);
|
||||
}
|
||||
|
||||
return $multiple ? $books : reset($books);
|
||||
|
||||
Reference in New Issue
Block a user