Skip to content

Commit

Permalink
Merge branch 'MDL-41644' of git://github.com/apsdehal/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Feb 11, 2014
2 parents ae7befe + 54ae34c commit e52bbf0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backup/import.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
// Display a notification and a continue button
if ($warnings) {
echo $OUTPUT->box_start();
echo $OUTPUT->notification(get_string('warning'), 'notifywarning');
echo $OUTPUT->notification(get_string('warning'), 'notifyproblem');
echo html_writer::start_tag('ul', array('class'=>'list'));
foreach ($warnings as $warning) {
echo html_writer::tag('li', $warning);
Expand Down
2 changes: 1 addition & 1 deletion backup/util/ui/renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ public function precheck_notices($results) {
}
if (array_key_exists('warnings', $results)) {
foreach ($results['warnings'] as $warning) {
$output .= $this->output->notification($warning, 'notifywarning notifyproblem');
$output .= $this->output->notification($warning, 'notifyproblem');
}
}
return $output.html_writer::end_tag('div');
Expand Down

0 comments on commit e52bbf0

Please sign in to comment.