From 40a7097d8518decbd79c1a2fde49875f964fc633 Mon Sep 17 00:00:00 2001 From: jfederico Date: Fri, 20 May 2016 10:44:26 -0400 Subject: [PATCH] v2.1.0: Added alert class to error messages rendered by bbb-view on logout --- bbb_view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbb_view.php b/bbb_view.php index ff412285f..bd4a04290 100644 --- a/bbb_view.php +++ b/bbb_view.php @@ -207,7 +207,7 @@ function bigbluebutton_bbb_view_errors($sErrors, $id) { $errors = (array) json_decode(urldecode($sErrors)); $msgErrors = ""; foreach ($errors as $error) { - $msgErrors .= html_writer::tag('p', $error->{"message"}) . "\n"; + $msgErrors .= html_writer::tag('p', $error->{"message"}, array('class' => 'alert alert-danger')) . "\n"; } echo $OUTPUT->header();