Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-30274 Correct typo of loginpage variable

  • Loading branch information...
commit 4a645a682120adbec21a597abecf786cf25cbb83 1 parent 6be90ce
Andrew Nicols andrewnicols authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 theme/mymobile/renderers.php
6 theme/mymobile/renderers.php
@@ -380,7 +380,7 @@ public function login_info_footer() {
380 380 return '';
381 381 }
382 382
383   - $loginapge = ((string)$this->page->url === get_login_url());
  383 + $loginpage = ((string)$this->page->url === get_login_url());
384 384 $course = $this->page->course;
385 385
386 386 if (session_is_loggedinas()) {
@@ -407,7 +407,7 @@ public function login_info_footer() {
407 407 }
408 408 if (isguestuser()) {
409 409 $loggedinas = $realuserinfo.get_string('loggedinasguest');
410   - if (!$loginapge) {
  410 + if (!$loginpage) {
411 411 $loggedinas .= " (<a href=\"$loginurl\">".get_string('login').'</a>)';
412 412 }
413 413 } else if (is_role_switched($course->id)) { // Has switched roles
@@ -421,7 +421,7 @@ public function login_info_footer() {
421 421 }
422 422 } else {
423 423 $loggedinas = get_string('loggedinnot', 'moodle');
424   - if (!$loginapge) {
  424 + if (!$loginpage) {
425 425 $loggedinas .= " (<a href=\"$loginurl\">".get_string('login').'</a>)';
426 426 }
427 427 }

0 comments on commit 4a645a6

Please sign in to comment.
Something went wrong with that request. Please try again.