r106709 MediaWiki - Code Review archive

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

Diff [purge]

Index: trunk/extensions/Contest/specials/SpecialEditContest.php
@@ -405,7 +405,7 @@
406406 * @return Language
407407 */
408408 public function getLanguage() {
409 - return method_exists( $this, 'getLanguage' ) ? $this->getLanguage() : $this->getLang();
 409+ return method_exists( get_parent_class(), 'getLanguage' ) ? parent::getLanguage() : $this->getLang();
410410 }
411411
412412 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r106838MFT r106452, r106603, r106708, r106709, r106713, r106714reedy19:15, 20 December 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r106603restore compat w/ mw 1.18jeroendedauw21:43, 18 December 2011

Status & tagging log