Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-30291 outputrenderers: fixed typo for

  • Loading branch information...
commit 1dedecf260dbfa449b308fff92ee80c76e37c891 1 parent 71d7bc3
rwijaya authored May 14, 2012

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

  1. 6  lib/outputrenderers.php
6  lib/outputrenderers.php
@@ -520,7 +520,7 @@ public function login_info() {
520 520
             return '';
521 521
         }
522 522
 
523  
-        $loginapge = ((string)$this->page->url === get_login_url());
  523
+        $loginpage = ((string)$this->page->url === get_login_url());
524 524
         $course = $this->page->course;
525 525
 
526 526
         if (session_is_loggedinas()) {
@@ -547,7 +547,7 @@ public function login_info() {
547 547
             }
548 548
             if (isguestuser()) {
549 549
                 $loggedinas = $realuserinfo.get_string('loggedinasguest');
550  
-                if (!$loginapge) {
  550
+                if (!$loginpage) {
551 551
                     $loggedinas .= " (<a href=\"$loginurl\">".get_string('login').'</a>)';
552 552
                 }
553 553
             } else if (is_role_switched($course->id)) { // Has switched roles
@@ -563,7 +563,7 @@ public function login_info() {
563 563
             }
564 564
         } else {
565 565
             $loggedinas = get_string('loggedinnot', 'moodle');
566  
-            if (!$loginapge) {
  566
+            if (!$loginpage) {
567 567
                 $loggedinas .= " (<a href=\"$loginurl\">".get_string('login').'</a>)';
568 568
             }
569 569
         }

0 notes on commit 1dedecf

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