Permalink
Browse files

MDL-30291 outputrenderers: fixed typo for

  • Loading branch information...
1 parent 71d7bc3 commit 1dedecf260dbfa449b308fff92ee80c76e37c891 @rwijaya rwijaya committed May 14, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/outputrenderers.php
@@ -520,7 +520,7 @@ public function login_info() {
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()) {
@@ -547,7 +547,7 @@ public function login_info() {
}
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
@@ -563,7 +563,7 @@ public function login_info() {
}
} else {
$loggedinas = get_string('loggedinnot', 'moodle');
- if (!$loginapge) {
+ if (!$loginpage) {
$loggedinas .= " (<a href=\"$loginurl\">".get_string('login').'</a>)';
}
}

0 comments on commit 1dedecf

Please sign in to comment.