diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Service.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Service.php index 60a6e28c0..ace1232b1 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Service.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Service.php @@ -10,8 +10,9 @@ abstract class Service public static function Handle() : bool { static $bOne = null; - if (null === $bOne && false === \stripos(\php_sapi_name(), 'cli')) { - $bOne = static::RunResult(); + if (null === $bOne) { + $bOne = false === \stripos(\php_sapi_name(), 'cli') + && static::RunResult(); } return $bOne;