mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-19763 PHP Fatal Error fix on undefined plain_page()
This commit is contained in:
parent
b3b3eaced7
commit
a0a268d5c4
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user