diff --git a/core/Command/Encryption/EncryptAll.php b/core/Command/Encryption/EncryptAll.php index 17d3a80394262..cf4ee749791a9 100644 --- a/core/Command/Encryption/EncryptAll.php +++ b/core/Command/Encryption/EncryptAll.php @@ -37,7 +37,7 @@ class EncryptAll extends Command { protected bool $wasTrashbinEnabled = false; - protected bool $wasMaintenanceModeEnabled; + protected bool $wasMaintenanceModeEnabled = false; public function __construct( protected IManager $encryptionManager,