]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-19763 PHP Fatal Error fix on undefined plain_page()
authorjerome <jerome>
Mon, 31 Aug 2009 07:13:41 +0000 (07:13 +0000)
committerjerome <jerome>
Mon, 31 Aug 2009 07:13:41 +0000 (07:13 +0000)
lib/setuplib.php

index 66f43b08b9fb1b40a5c3d4d3950aa1465a612756..f938876c934f4cbe7f25a950c0b4428aa632b8ab 100644 (file)
@@ -907,7 +907,7 @@ class bootstrap_renderer {
     public static function plain_redirect_message($encodedurl) {
         $message = '<p>' . get_string('pageshouldredirect') . '</p><p><a href="'.
                 $encodedurl .'">'. get_string('continue') .'</a></p>';
-        return plain_page(get_string('redirect'), $message);
+        return self::plain_page(get_string('redirect'), $message);
     }
 
     protected static function plain_page($title, $content) {