v8.4.6 : type itemsperpage int
This commit is contained in:
parent
6269a07540
commit
18e32f07f9
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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 === []) {
|
||||
|
Loading…
Reference in New Issue
Block a user