Sfoglia il codice sorgente

Fix Models\PM\Model

Leave the keys unchanged.
Visman 4 anni fa
parent
commit
e9f5b048a9
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      app/Models/PM/Model.php

+ 2 - 1
app/Models/PM/Model.php

@@ -442,7 +442,8 @@ class Model extends ParentModel
         $ids = \array_slice(
         $ids = \array_slice(
             $this->idsList(),
             $this->idsList(),
             ($this->page - 1) * $this->c->user->disp_topics,
             ($this->page - 1) * $this->c->user->disp_topics,
-            $this->c->user->disp_topics
+            $this->c->user->disp_topics,
+            true
         );
         );
 
 
         return $this->loadByIds(Cnst::PTOPIC, \array_keys($ids));
         return $this->loadByIds(Cnst::PTOPIC, \array_keys($ids));