summaryrefslogtreecommitdiffstats
path: root/lib/helper.php
diff options
context:
space:
mode:
authorFrank Karlitschek <karlitschek@kde.org>2011-08-06 23:31:38 +0200
committerFrank Karlitschek <karlitschek@kde.org>2011-08-06 23:31:38 +0200
commit1dc3cb67fa2420703c1e07125d01dddc4dce0356 (patch)
tree46599893d78115aa0394c8f15842722fc3c772c5 /lib/helper.php
parenta689fa18dfb66226527499ea707b2ff517561851 (diff)
downloadnextcloud-server-1dc3cb67fa2420703c1e07125d01dddc4dce0356.tar.gz
nextcloud-server-1dc3cb67fa2420703c1e07125d01dddc4dce0356.zip
more improved error reporting
Diffstat (limited to 'lib/helper.php')
-rwxr-xr-xlib/helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helper.php b/lib/helper.php
index 5dc3dd44a15..fa5163ac266 100755
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -204,7 +204,7 @@ class OC_Helper {
}
}
closedir($dh);
- if(chmod($path, $filemode))
+ if(@chmod($path, $filemode))
return TRUE;
else
return FALSE;