From: Tim Starling Date: Tue, 6 May 2008 02:01:24 +0000 (+0000) Subject: Downgrading this error because it happens sometimes due to user input X-Git-Tag: 1.31.0-rc.0~47876 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=9d187e016fe5dee52d427ba235f139f98dc46798;p=lhc%2Fweb%2Fwiklou.git Downgrading this error because it happens sometimes due to user input --- diff --git a/includes/Parser.php b/includes/Parser.php index a5162d6aa7..3e309bee75 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -3249,7 +3249,8 @@ class Parser $output = call_user_func_array( $this->mTagHooks[$name], array( $content, $attributes, $this ) ); } else { - throw new MWException( "Invalid call hook $name" ); + $output = 'Invalid tag extension name: ' . + htmlspecialchars( $name ) . ''; } } } else {