forked from ZwiiCMS-Team/ZwiiCMS
v8.4.6 : type itemsperpage int
This commit is contained in:
parent
6269a07540
commit
18e32f07f9
@ -919,6 +919,13 @@ class common {
|
|||||||
$this->SaveData();
|
$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),
|
'timezone' => $this->getInput('configTimezone', helper::FILTER_STRING_SHORT, true),
|
||||||
'title' => $this->getInput('configTitle', 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 === []) {
|
if(self::$inputNotices === []) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user