Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'MDL-30274-master-1' of git://git.luns.net.uk/moodle

  • Loading branch information...
commit cfaa2bd7441aa3ad4579961f9434b95188c77c1a 2 parents 2fee72e + 4a645a6
@stronk7 stronk7 authored
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>)';
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.