From: Alexandre Emsenhuber Date: Tue, 27 Apr 2010 18:15:55 +0000 (+0000) Subject: Fix for r65579: removed "!" that should really not be there... X-Git-Tag: 1.31.0-rc.0~37001 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=de0af00d476656f4c39d753ec497aa0798300636;p=lhc%2Fweb%2Fwiklou.git Fix for r65579: removed "!" that should really not be there... --- diff --git a/includes/Linker.php b/includes/Linker.php index 4935c59419..1398a4447a 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1114,7 +1114,7 @@ class Linker { $target = Title::newFromText( $linkTarget ); if( $target ) { - if( $target->getText() == '' && !$target->getInterwiki() === '' + if( $target->getText() == '' && $target->getInterwiki() === '' && !$this->commentLocal && $this->commentContextTitle ) { $newTarget = clone( $this->commentContextTitle );