Permalink
Browse files

MDL-30274 Correct typo of loginpage variable

  • Loading branch information...
1 parent 6be90ce commit 4a645a682120adbec21a597abecf786cf25cbb83 @andrewnicols andrewnicols committed Nov 15, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 theme/mymobile/renderers.php
View
6 theme/mymobile/renderers.php
@@ -380,7 +380,7 @@ public function login_info_footer() {
return '';
}
- $loginapge = ((string)$this->page->url === get_login_url());
+ $loginpage = ((string)$this->page->url === get_login_url());
$course = $this->page->course;
if (session_is_loggedinas()) {
@@ -407,7 +407,7 @@ public function login_info_footer() {
}
if (isguestuser()) {
$loggedinas = $realuserinfo.get_string('loggedinasguest');
- if (!$loginapge) {
+ if (!$loginpage) {
$loggedinas .= " (<a href=\"$loginurl\">".get_string('login').'</a>)';
}
} else if (is_role_switched($course->id)) { // Has switched roles
@@ -421,7 +421,7 @@ public function login_info_footer() {
}
} else {
$loggedinas = get_string('loggedinnot', 'moodle');
- if (!$loginapge) {
+ if (!$loginpage) {
$loggedinas .= " (<a href=\"$loginurl\">".get_string('login').'</a>)';
}
}

0 comments on commit 4a645a6

Please sign in to comment.