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
     
82
     
83
     if ($offset)
83
     if ($offset)
84
     {
84
     {
85
-      $query_builder->setFirstResult( $offset-1 )
85
+      $query_builder->setFirstResult( $offset )
86
         ->setMaxResults( count($element_ids) );
86
         ->setMaxResults( count($element_ids) );
87
     }
87
     }
88
     
88