param null version blog
This commit is contained in:
parent
81c4a5cfb3
commit
60358ef4be
@ -109,7 +109,8 @@ class blog extends common {
|
||||
*/
|
||||
private function update() {
|
||||
// Version 5.0
|
||||
if (version_compare($this->getData(['module', $this->getUrl(0), 'config', 'versionData']), '5.0', '<') ) {
|
||||
if (is_null($this->getData(['module', $this->getUrl(0), 'config', 'versionData'])) ||
|
||||
version_compare($this->getData(['module', $this->getUrl(0), 'config', 'versionData']), '5.0', '<') ) {
|
||||
$this->setData(['module', $this->getUrl(0), 'config', 'itemsperPage', 6]);
|
||||
$this->setData(['module', $this->getUrl(0), 'config', 'versionData','5.0']);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user