From 753228b650be4f7cf6c850e8a858927ac2377ca7 Mon Sep 17 00:00:00 2001 From: MathiasReker Date: Tue, 11 Dec 2018 11:57:09 +0100 Subject: [PATCH 1/2] Normalize use of operators --- admin-dev/filemanager/include/utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin-dev/filemanager/include/utils.php b/admin-dev/filemanager/include/utils.php index caf5d22f6c8f5..05a9d6b1f8c03 100644 --- a/admin-dev/filemanager/include/utils.php +++ b/admin-dev/filemanager/include/utils.php @@ -103,7 +103,7 @@ function foldersize($path) $cleanPath = rtrim($path, '/'). '/'; foreach ($files as $t) { - if ($t<>"." && $t<>"..") { + if ($t!="." && $t!="..") { $currentFile = $cleanPath . $t; if (is_dir($currentFile)) { $size = foldersize($currentFile); From ba7ade016aab30c778fab40862ecab34e996630c Mon Sep 17 00:00:00 2001 From: Mathias Reker Date: Wed, 12 Dec 2018 00:46:24 +0100 Subject: [PATCH 2/2] Update utils.php --- admin-dev/filemanager/include/utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin-dev/filemanager/include/utils.php b/admin-dev/filemanager/include/utils.php index 05a9d6b1f8c03..08b77a5cdc623 100644 --- a/admin-dev/filemanager/include/utils.php +++ b/admin-dev/filemanager/include/utils.php @@ -103,7 +103,7 @@ function foldersize($path) $cleanPath = rtrim($path, '/'). '/'; foreach ($files as $t) { - if ($t!="." && $t!="..") { + if ($t != "." && $t != "..") { $currentFile = $cleanPath . $t; if (is_dir($currentFile)) { $size = foldersize($currentFile);