diff --git a/src/Core/Update.php b/src/Core/Update.php index 025397fde..523753a1b 100644 --- a/src/Core/Update.php +++ b/src/Core/Update.php @@ -79,7 +79,7 @@ class Update if (Lock::acquire('dbupdate', 0, Cache::INFINITE)) { // recheck again in case we accidentally spawned multiple updates - $stored = intval(self::getBuild()); + $stored = self::getBuild(); if ($stored >= $current) { Lock::release('dbupdate'); return '';