diff --git a/main/upload/index.php b/main/upload/index.php index ae9ac31298..116352dd6a 100755 --- a/main/upload/index.php +++ b/main/upload/index.php @@ -67,7 +67,9 @@ function check_unzip() { // --> "; -$is_allowed_to_edit = api_is_allowed_to_edit(); + +//$is_allowed_to_edit = api_is_allowed_to_edit(); +$is_allowed_to_edit = api_is_allowed_to_edit(null,true); if(!$is_allowed_to_edit){ api_not_allowed(true); }