MDL-40842 output: fixed fatal error display bug - thanks Marina for spotting it!
authorSam Hemelryk <sam@moodle.com>
Thu, 1 Aug 2013 04:52:18 +0000 (16:52 +1200)
committerSam Hemelryk <sam@moodle.com>
Thu, 1 Aug 2013 04:52:34 +0000 (16:52 +1200)
lib/outputrenderers.php

index 31b5f4d..771daec 100644 (file)
@@ -2527,7 +2527,7 @@ EOD;
             $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', array('data-rel' => 'fatalerror'));
+        $output .= $this->box($message, 'errorbox', null, array('data-rel' => 'fatalerror'));
 
         if (debugging('', DEBUG_DEVELOPER)) {
             if (!empty($debuginfo)) {