diff --git a/mod/bigbluebuttonbn/classes/output/view_page.php b/mod/bigbluebuttonbn/classes/output/view_page.php index 09339f85cb5..90848202b75 100644 --- a/mod/bigbluebuttonbn/classes/output/view_page.php +++ b/mod/bigbluebuttonbn/classes/output/view_page.php @@ -105,7 +105,7 @@ class view_page implements renderable, templatable { $templatedata->recordingwarnings = []; $check = new cronrunning(); $result = $check->get_result(); - if ($result->status != result::OK && $this->instance->is_moderator()) { + if ($result->get_status() != result::OK && $this->instance->is_moderator()) { $templatedata->recordingwarnings[] = (new notification( get_string('view_message_cron_disabled', 'mod_bigbluebuttonbn', $result->get_summary()),