diff --git a/modules/statistics/hooks/hook_cron.php b/modules/statistics/hooks/hook_cron.php index 31d85a8b913443abcaabfbf2e300a92e5da40d07..ccd95e4603b9f11e55bbafca1d11f7cbdbd8c290 100644 --- a/modules/statistics/hooks/hook_cron.php +++ b/modules/statistics/hooks/hook_cron.php @@ -12,7 +12,7 @@ function statistics_hook_cron(&$croninfo) $statconfig = SimpleSAML_Configuration::getConfig('module_statistics.php'); - if (is_null($statconfig->getValue('cron_tag', nul))) { + if (is_null($statconfig->getValue('cron_tag', null))) { return; } if ($statconfig->getValue('cron_tag', null) !== $croninfo['tag']) {