diff --git a/lib/file-control.php b/lib/file-control.php index 30a41ac..69294a7 100644 --- a/lib/file-control.php +++ b/lib/file-control.php @@ -297,7 +297,7 @@ if ($_GET['action']=="perms") { if (!$demoMode && is_writable($file)) { chmod($file,octdec(numClean($_GET['perms']))); // Reload file manager - echo 'top.ICEcoder.selectedFiles=[];top.ICEcoder.updateFileManagerList(\'chmod\',\''.$fileLoc.'\',\''.$fileName.'\',\''.numClean($_GET['perms']).'\');'; + echo 'top.ICEcoder.updateFileManagerList(\'chmod\',\''.$fileLoc.'\',\''.$fileName.'\',\''.numClean($_GET['perms']).'\');'; echo 'action="perms";'; // Run our custom processes include_once("../processes/on-file-dir-perms.php");