Skip to content

Commit

Permalink
v2.1.0: Added alert class to error messages rendered by bbb-view on l…
Browse files Browse the repository at this point in the history
…ogout
  • Loading branch information
jfederico committed May 20, 2016
1 parent 53bf946 commit 40a7097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bbb_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 40a7097

Please sign in to comment.