mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-06 03:49:56 +02:00
Fix democratic playlist display
This commit is contained in:
parent
8cc720fce1
commit
9acabf8b97
1 changed files with 4 additions and 2 deletions
|
@ -240,8 +240,10 @@ class Democratic extends Tmp_Playlist {
|
|||
|
||||
$results = array();
|
||||
|
||||
while ($results[] = Dba::fetch_assoc($db_results)) {
|
||||
// Nada
|
||||
while ($row = Dba::fetch_assoc($db_results)) {
|
||||
if ($row['id']) {
|
||||
$results[] = $row;
|
||||
}
|
||||
}
|
||||
|
||||
return $results;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue