Skip to content

Commit

Permalink
Merge branch 'MDL-43362-master' of git://github.com/Kathrin84/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Mar 14, 2018
2 parents d7ff2fc + 9d49263 commit 04d6ba8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/tool/behat/renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public function render_error($msg) {
$msg = get_string('wrongbehatsetup', 'tool_behat', $a);

// Error box including generic error string + specific error msg.
$html .= $this->output->box_start('box errorbox');
$html .= $this->output->box_start('box errorbox alert alert-danger');
$html .= html_writer::tag('div', $msg);
$html .= $this->output->box_end();

Expand Down
2 changes: 1 addition & 1 deletion lib/outputrenderers.php
Original file line number Diff line number Diff line change
Expand Up @@ -2797,7 +2797,7 @@ public function fatal_error($message, $moreinfourl, $link, $backtrace, $debuginf
$message .= '<p class="errormessage">' . get_string('installproblem', 'error') . '</p>';
//It is usually not possible to recover from errors triggered during installation, you may need to create a new database or use a different database prefix for new installation.
}
$output .= $this->box($message, 'errorbox', null, array('data-rel' => 'fatalerror'));
$output .= $this->box($message, 'errorbox alert alert-danger', null, array('data-rel' => 'fatalerror'));

if ($CFG->debugdeveloper) {
if (!empty($debuginfo)) {
Expand Down

0 comments on commit 04d6ba8

Please sign in to comment.