mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 19:41:55 +02:00
Fixed Album Art (folder.jpg images) #318 (Thx imigueldiaz)
This commit is contained in:
parent
ef9ebefadd
commit
14019e88c5
1 changed files with 2 additions and 1 deletions
|
@ -334,7 +334,8 @@ class Album extends database_object {
|
|||
|
||||
// Add the results we got to the current set
|
||||
$total_results += count($data);
|
||||
$results = array_merge($results,$data);
|
||||
// HACK for PHP 5, $data must be cast as array $results = array_merge($results, (array)$data);
|
||||
$results = array_merge($results,(array)$data);
|
||||
|
||||
if ($total_results > $limit AND $limit > 0) {
|
||||
return $results;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue