From: Aaron Schulz Date: Sat, 8 Nov 2008 02:21:13 +0000 (+0000) Subject: Code space tweaks X-Git-Tag: 1.31.0-rc.0~44410 X-Git-Url: http://git.cyclocoop.org/clavettes/images/siteon3.jpg?a=commitdiff_plain;h=1ee72f0a34c29b8df47c9ef2d7c87e22518eac64;p=lhc%2Fweb%2Fwiklou.git Code space tweaks --- diff --git a/includes/Linker.php b/includes/Linker.php index a861bc5a79..c48ed2d8af 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -227,11 +227,8 @@ class Linker { } $ret = null; - if( wfRunHooks( 'LinkEnd', array( $this, $target, $options, &$text, - &$attribs, &$ret ) ) ) { - $ret = Xml::openElement( 'a', $attribs ) - . $text - . Xml::closeElement( 'a' ); + if( wfRunHooks( 'LinkEnd', array( $this, $target, $options, &$text, &$attribs, &$ret ) ) ) { + $ret = Xml::openElement( 'a', $attribs ) . $text . Xml::closeElement( 'a' ); } wfProfileOut( __METHOD__ );