diff --git a/core/core.php b/core/core.php index f3f27399..ca82c926 100644 --- a/core/core.php +++ b/core/core.php @@ -2635,11 +2635,11 @@ class layout extends common { $lastAutoUpdate = mktime(0, 0, 0); if( $this->getData(['config','autoUpdate']) === true && $lastAutoUpdate > $this->getData(['core','lastAutoUpdate']) + 86400 ) { - $this->setData(['core','lastAutoUpdate',$lastAutoUpdate]); - $this->saveData(); + $this->setData(['core','lastAutoUpdate',$lastAutoUpdate]); if ( helper::checkNewVersion(common::ZWII_UPDATE_CHANNEL) ) { $rightItems .= '