fix missing global directive for settings

This commit is contained in:
Jean-Christian Paul Denis 2021-09-03 21:07:05 +02:00
parent 7e6f246756
commit dd918455b8

View File

@ -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,