1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-06 03:49:56 +02:00

Fixed #504: All Songs in Artist view bug

This commit is contained in:
Afterster 2014-10-15 00:04:55 +02:00
parent b54b48fa07
commit 969ff05abb

View file

@ -118,7 +118,7 @@ class Browse extends Query
// Limit is based on the user's preferences if this is not a
// simple browse because we've got too much here
if ((count($object_ids) > $this->get_start()) &&
if ($this->get_start() >= 0 && (count($object_ids) > $this->get_start()) &&
! $this->is_simple()) {
$object_ids = array_slice(
$object_ids,