1
0
Fork 0
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:
momo-i 2008-10-22 21:57:40 +00:00
parent ef9ebefadd
commit 14019e88c5

View file

@ -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;