From: Rob Church Date: Thu, 12 Jan 2006 20:56:55 +0000 (+0000) Subject: Whitespace, and flag hack X-Git-Tag: 1.6.0~588 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=55c3e8a501ebaf284ecdd766922bf41f8fb928b1;p=lhc%2Fweb%2Fwiklou.git Whitespace, and flag hack --- diff --git a/includes/Parser.php b/includes/Parser.php index 0b3d92d13a..08575c13a0 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -3289,9 +3289,8 @@ class Parser ); $text = preg_replace( '/~{3,5}/', '', $text ); - if( $parsing) { - $text = $this->replaceVariables( $text ); - } + # TODO: Fix this, it's an ugly hack + if( $parsing ) { $text = $this->replaceVariables( $text ); } return $text;