diff --git a/admin/inc/class.admin_acl.inc.php b/admin/inc/class.admin_acl.inc.php index 517c6cd7f2..79601e29c9 100644 --- a/admin/inc/class.admin_acl.inc.php +++ b/admin/inc/class.admin_acl.inc.php @@ -425,6 +425,10 @@ class admin_acl ) ); + // Set this so if loaded via preferences, js is still properly + // loaded into global app.admin + $GLOBALS['egw_info']['flags']['currentapp'] = 'admin'; + $tpl->exec('admin.admin_acl.index', $content, $sel_options, array(), array(), 2); }