fix missing global directive for settings

This commit is contained in:
Jean-Christian 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']);
$redir = empty($_REQUEST['redir']) ? $list->getURL() . '#plugins' : $_REQUEST['redir'];
if ($super) {
$report->setGlobal();
}
$combo_interval = [
__('every hour') => 3600,
__('every 2 hours') => 7200,