changeset 866:db9810510670

s/fileperm(/fileperms(/ :S
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 26 Nov 2014 11:45:48 +0200
parents 80f6f31d3711
children 74ee30f5b34d
files msite.inc.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/msite.inc.php	Wed Nov 26 11:45:30 2014 +0200
+++ b/msite.inc.php	Wed Nov 26 11:45:48 2014 +0200
@@ -1140,7 +1140,7 @@
       "Path '".$dstPath."' for compo ID #".$entry["compo_id"]." does not exist.",
       "The directory for entry's compo does not exist!");
   
-  $dstPerms = fileperm($dstPath);
+  $dstPerms = fileperms($dstPath);
   if (($dstPerms & 0x4000) === 0)
     return stFileError($userID,
       "Path for entry's compo '".$dstPath."' is not a directory.",