From: Victor Vasiliev Date: Wed, 16 Jan 2008 18:49:41 +0000 (+0000) Subject: Fix call to non-static method X-Git-Tag: 1.31.0-rc.0~49956 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=fb48f2917d5bcde0d5b4c223ba42d18e92d6a895;p=lhc%2Fweb%2Fwiklou.git Fix call to non-static method --- diff --git a/includes/Linker.php b/includes/Linker.php index 678be8d799..7861a8f046 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -723,7 +723,7 @@ class Linker { $upload = SpecialPage::getTitleFor( 'Upload' ); if( $text == '' ) $text = htmlspecialchars( $title->getPrefixedText() ); - $redir = RepoGroup::getLocalRepo()->checkRedirect( $title ); + $redir = RepoGroup::singleton()->getLocalRepo()->checkRedirect( $title ); if( $redir ) { return $this->makeKnownLinkObj( $title, $text, $query, $trail, $prefix ); }