]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix: conflicts resolved in apps.php loadDirectory backport/38630/stable30 49241/head
authoryemkareems <yemkareems@gmail.com>
Wed, 13 Nov 2024 03:40:35 +0000 (09:10 +0530)
committeryemkareems <yemkareems@gmail.com>
Wed, 13 Nov 2024 03:41:43 +0000 (09:11 +0530)
Signed-off-by: yemkareems <yemkareems@gmail.com>
tests/apps.php

index 1a9071aa2d3bf0737c97bdf237661d621164e542..d845cdf47c1db1274c767d07360e02d01ecc2264 100644 (file)
@@ -14,7 +14,7 @@ function loadDirectory($path): void {
                return;
        }
 
-       while ($name = readdir($dh)) {
+       while (($name = readdir($dh)) !== false) {
                if ($name[0] === '.') {
                        continue;
                }