diff --git a/core/core.php b/core/core.php index 453c01ce..4e9dd861 100644 --- a/core/core.php +++ b/core/core.php @@ -2669,11 +2669,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 .= '