diff --git a/web/skins/classic/includes/export_functions.php b/web/skins/classic/includes/export_functions.php index 4d32b85fe..44eeb4ce5 100644 --- a/web/skins/classic/includes/export_functions.php +++ b/web/skins/classic/includes/export_functions.php @@ -776,7 +776,7 @@ function exportFileList( ZM\Error("Empty event passed to exportFileList"); return; } - if (!$event->canView('Events')) { + if (!$event->canView()) { ZM\Error('Can\'t view event '.$event->Id()); return; }