fix missing global directive for settings

master
Jean-Christian Paul Denis 2021-09-03 21:07:05 +02:00
parent 7e6f246756
commit dd918455b8
1 changed files with 4 additions and 0 deletions

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,