r106710 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106709‎ | r106710 | r106711 >
Date:22:23, 19 December 2011
Author:jeroendedauw
Status:ok
Tags:
Comment:
fix inf recursion fail
Modified paths:
  • /trunk/extensions/EducationProgram/specials/SpecialEPPage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/EducationProgram/specials/SpecialEPPage.php
@@ -119,7 +119,7 @@
120120 * @return Language
121121 */
122122 public function getLanguage() {
123 - return method_exists( $this, 'getLanguage' ) ? $this->getLanguage() : $this->getLang();
 123+ return method_exists( get_parent_class(), 'getLanguage' ) ? parent::getLanguage() : $this->getLang();
124124 }
125125
126126 }

Status & tagging log