Change empty array check
authorCyperghost <olaf_schmitz_1@t-online.de>
Wed, 24 Jan 2024 10:55:56 +0000 (11:55 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Wed, 24 Jan 2024 10:55:56 +0000 (11:55 +0100)
wcfsetup/install/files/lib/system/acp/dashboard/box/StatusMessageAcpDashboardBox.class.php

index f8e8003b9e53fe6c3ada2e051e68af77c40e5b48..4f155265389fbbe3f9f6719b0d84517ae984658f 100644 (file)
@@ -238,7 +238,7 @@ final class StatusMessageAcpDashboardBox extends AbstractAcpDashboardBox
             }
         }
 
-        if (!empty($missingExtensions)) {
+        if ($missingExtensions !== []) {
             return [
                 new StatusMessage(
                     StatusMessageType::Error,