Browse Source

Anomalie #805: Listes de lectures: click autoplay: mauvaise piste

Bastien Sevajol 11 years ago
parent
commit
b3ba9375a2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Muzich/CoreBundle/Managers/PlaylistManager.php

+ 1 - 1
src/Muzich/CoreBundle/Managers/PlaylistManager.php View File

@@ -82,7 +82,7 @@ class PlaylistManager
82 82
     
83 83
     if ($offset)
84 84
     {
85
-      $query_builder->setFirstResult( $offset-1 )
85
+      $query_builder->setFirstResult( $offset )
86 86
         ->setMaxResults( count($element_ids) );
87 87
     }
88 88