Fix #2709 , patch by Zigger
[lhc/web/wiklou.git] / includes / GlobalFunctions.php
index bc5e2a9..939c9ea 100644 (file)
@@ -373,9 +373,7 @@ function wfMsgReplaceArgs( $message, $args ) {
 function wfMsgHtml( $key ) {
        $args = func_get_args();
        array_shift( $args );
-       return wfMsgReplaceArgs(
-               htmlspecialchars( wfMsgGetKey( $key, $args, true ) ),
-               $args );
+       return wfMsgReplaceArgs( htmlspecialchars( wfMsgGetKey( $key, true ) ), $args );
 }
 
 /**