MDL-19763 PHP Fatal Error fix on undefined plain_page()

This commit is contained in:
jerome 2009-08-31 07:13:41 +00:00
parent b3b3eaced7
commit a0a268d5c4

View file

@ -907,7 +907,7 @@ class bootstrap_renderer {
public static function plain_redirect_message($encodedurl) { public static function plain_redirect_message($encodedurl) {
$message = '<p>' . get_string('pageshouldredirect') . '</p><p><a href="'. $message = '<p>' . get_string('pageshouldredirect') . '</p><p><a href="'.
$encodedurl .'">'. get_string('continue') .'</a></p>'; $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) { protected static function plain_page($title, $content) {