diff --git a/core/core.php b/core/core.php index d6e6e286..b16a91a1 100644 --- a/core/core.php +++ b/core/core.php @@ -917,6 +917,13 @@ class common { $this->setData(['theme','footer','copyrightPosition','center']); $this->setData(['core', 'dataVersion', 844]); $this->SaveData(); + } + + // Version 8.4.6 + if($this->getData(['core', 'dataVersion']) < 846) { + $this->setData(['config','ItemsperPage',10]); + $this->setData(['core', 'dataVersion', 846]); + $this->SaveData(); } } diff --git a/core/module/config/config.php b/core/module/config/config.php index bc7ced0b..be1f4963 100755 --- a/core/module/config/config.php +++ b/core/module/config/config.php @@ -222,7 +222,7 @@ class config extends common { ], 'timezone' => $this->getInput('configTimezone', helper::FILTER_STRING_SHORT, true), 'title' => $this->getInput('configTitle', helper::FILTER_STRING_SHORT, true), - 'ItemsperPage' => $this->getInput('ItemsperPage') + 'ItemsperPage' => $this->getInput('ItemsperPage', helper::FILTER_INT,true) ] ]); if(self::$inputNotices === []) {