From 1fe5e6ad8e3d02b22287f158efc3bbc0f725f90d Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Fri, 1 Mar 2013 16:21:28 +0000 Subject: [PATCH] Set $fileAtts to nothing as a fallback Strict PHP modes will complain this isn't set otherwise --- lib/get-branch.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/get-branch.php b/lib/get-branch.php index 4680f49..6ff0112 100644 --- a/lib/get-branch.php +++ b/lib/get-branch.php @@ -55,6 +55,7 @@ for ($i=0;$i\n"; } } + $fileAtts = ""; if ($serverType=="Linux") { $chmodInfo = substr(sprintf('%o', fileperms($docRoot.$iceRoot.$fileFolderName)), -3); $fileAtts = ''.$chmodInfo.'';