From: Platonides Date: Sun, 16 Jan 2011 16:41:15 +0000 (+0000) Subject: Pasting lines typo in r80025 X-Git-Tag: 1.31.0-rc.0~32511 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=7970796f1a5cbd74f247ad30517c6e3b06e3257b;p=lhc%2Fweb%2Fwiklou.git Pasting lines typo in r80025 --- diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 5212920e81..777db678ef 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -4327,7 +4327,7 @@ class Parser { function setTransparentTagHook( $tag, $callback ) { $tag = strtolower( $tag ); - if ( preg_match( '/[<>\r\n]/', $tag, $m ) ) throw new MWException( "Invalid character {$m[0]} in setHook('$tag', ...) call" ); + if ( preg_match( '/[<>\r\n]/', $tag, $m ) ) throw new MWException( "Invalid character {$m[0]} in setTransparentHook('$tag', ...) call" ); $oldVal = isset( $this->mTransparentTagHooks[$tag] ) ? $this->mTransparentTagHooks[$tag] : null; $this->mTransparentTagHooks[$tag] = $callback; @@ -4432,7 +4432,7 @@ class Parser { */ function setFunctionTagHook( $tag, $callback, $flags ) { $tag = strtolower( $tag ); - if ( preg_match( '/[<>\r\n]/', $tag, $m ) ) throw new MWException( "Invalid character {$m[0]} in setHook('$tag', ...) call" ); + if ( preg_match( '/[<>\r\n]/', $tag, $m ) ) throw new MWException( "Invalid character {$m[0]} in setFunctionTagHook('$tag', ...) call" ); $old = isset( $this->mFunctionTagHooks[$tag] ) ? $this->mFunctionTagHooks[$tag] : null; $this->mFunctionTagHooks[$tag] = array( $callback, $flags );