From 61e82178aa6ec83f9861181642ac84285f340bde Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Mon, 20 Nov 2006 22:03:11 +0100 Subject: [PATCH] [svn r10064] Fixed unauthorized PHP syntax (requiring global for array element directly where you should require the complete array variable) --- main/dropbox/dropbox_functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/dropbox/dropbox_functions.inc.php b/main/dropbox/dropbox_functions.inc.php index 5257689f48..0a0635718a 100644 --- a/main/dropbox/dropbox_functions.inc.php +++ b/main/dropbox/dropbox_functions.inc.php @@ -120,7 +120,7 @@ function handle_multiple_actions() function delete_category($action, $id) { global $dropbox_cnf; - global $_user['user_id'], $is_courseAdmin, $is_courseTutor; + global $_user, $is_courseAdmin, $is_courseTutor; // an additional check that might not be necessary if ($action=='deletereceivedcategory')