Fix Models\PM\Model

Leave the keys unchanged.
This commit is contained in:
Visman 2021-03-27 19:19:48 +07:00
parent 7e1984fee6
commit e9f5b048a9

View file

@ -442,7 +442,8 @@ class Model extends ParentModel
$ids = \array_slice(
$this->idsList(),
($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));