summaryrefslogtreecommitdiff
path: root/languages/classes/LanguageSr.php
diff options
context:
space:
mode:
Diffstat (limited to 'languages/classes/LanguageSr.php')
-rw-r--r--languages/classes/LanguageSr.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/classes/LanguageSr.php b/languages/classes/LanguageSr.php
index cac82ce7..79a2ec25 100644
--- a/languages/classes/LanguageSr.php
+++ b/languages/classes/LanguageSr.php
@@ -92,7 +92,7 @@ class SrConverter extends LanguageConverter {
* names as they were
* - do not try to find variants for usernames
*/
- function findVariantLink( &$link, &$nt, $forTemplate = false ) {
+ function findVariantLink( &$link, &$nt, $ignoreOtherCond = false ) {
// check for user namespace
if(is_object($nt)){
$ns = $nt->getNamespace();
@@ -101,7 +101,7 @@ class SrConverter extends LanguageConverter {
}
$oldlink=$link;
- parent::findVariantLink( $link, $nt, $forTemplate );
+ parent::findVariantLink( $link, $nt, $ignoreOtherCond );
if($this->getPreferredVariant()==$this->mMainLanguageCode)
$link=$oldlink;
}