Index: trunk/extensions/Contest/specials/SpecialEditContest.php |
— | — | @@ -405,7 +405,7 @@ |
406 | 406 | * @return Language |
407 | 407 | */ |
408 | 408 | 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(); |
410 | 410 | } |
411 | 411 | |
412 | 412 | } |