Fix scope
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 21 Oct 2010 05:48:27 +0000 (23:48 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 21 Oct 2010 05:48:27 +0000 (23:48 -0600)
imp/lib/Prefs/Ui.php

index 5bed5a5..9ef43af 100644 (file)
@@ -748,7 +748,7 @@ class IMP_Prefs_Ui
 
         $t->set('canedit', $canEdit);
 
-        if ($session['imp:imap_admin']) {
+        if ($GLOBALS['session']['imp:imap_admin']) {
             $current_users = array_keys($curr_acl);
             $new_user = array();