From: Brion Vibber Date: Fri, 3 Feb 2006 09:28:13 +0000 (+0000) Subject: Suppress XML error details when detailed output is off X-Git-Tag: 1.6.0~381 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=fef5e93f8e948fcb8f4e65490da8123603751f87;p=lhc%2Fweb%2Fwiklou.git Suppress XML error details when detailed output is off --- diff --git a/maintenance/parserTests.inc b/maintenance/parserTests.inc index 09295a9add..63c4d13ccd 100644 --- a/maintenance/parserTests.inc +++ b/maintenance/parserTests.inc @@ -546,9 +546,9 @@ class ParserTest { print $this->termColor( '1;31' ) . 'FAILED!' . $this->termReset() . "\n"; if( $this->showDiffs ) { print $this->quickDiff( $result, $html ); - } - if( !$this->wellFormed( $html ) ) { - print "XML error: $this->mXmlError\n"; + if( !$this->wellFormed( $html ) ) { + print "XML error: $this->mXmlError\n"; + } } return false; }