Index: trunk/extensions/Contest/specials/SpecialContestPage.php |
— | — | @@ -192,7 +192,7 @@ |
193 | 193 | * @return Language |
194 | 194 | */ |
195 | 195 | public function getLanguage() { |
196 | | - return method_exists( $this, 'getLanguage' ) ? $this->getLanguage() : $this->getLang(); |
| 196 | + return method_exists( get_parent_class(), 'getLanguage' ) ? parent::getLanguage() : $this->getLang(); |
197 | 197 | } |
198 | 198 | |
199 | 199 | } |