diff --git a/typo3/sysext/install/Classes/Updates/AbstractUpdate.php b/typo3/sysext/install/Classes/Updates/AbstractUpdate.php index f926b5468a797a16ffee02281dc7867173b9ff32..a2eae36fefff4264b721f40ad72bc1e2303ed20d 100644 --- a/typo3/sysext/install/Classes/Updates/AbstractUpdate.php +++ b/typo3/sysext/install/Classes/Updates/AbstractUpdate.php @@ -99,10 +99,9 @@ abstract class AbstractUpdate */ public function shouldRenderWizard() { - $showUpdate = 0; $explanation = ''; - $result = $this->checkForUpdate($explanation, $showUpdate); - return $showUpdate > 0 || $result == true; + $result = $this->checkForUpdate($explanation); + return (bool)$result === true; } /**