fix missing global directive for settings
This commit is contained in:
parent
7e6f246756
commit
dd918455b8
1 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,10 @@ $report =& $core->activityReport;
|
||||||
$super = $core->auth->isSuperAdmin() && !empty($_REQUEST['super']);
|
$super = $core->auth->isSuperAdmin() && !empty($_REQUEST['super']);
|
||||||
$redir = empty($_REQUEST['redir']) ? $list->getURL() . '#plugins' : $_REQUEST['redir'];
|
$redir = empty($_REQUEST['redir']) ? $list->getURL() . '#plugins' : $_REQUEST['redir'];
|
||||||
|
|
||||||
|
if ($super) {
|
||||||
|
$report->setGlobal();
|
||||||
|
}
|
||||||
|
|
||||||
$combo_interval = [
|
$combo_interval = [
|
||||||
__('every hour') => 3600,
|
__('every hour') => 3600,
|
||||||
__('every 2 hours') => 7200,
|
__('every 2 hours') => 7200,
|
||||||
|
|
Loading…
Reference in a new issue