From: Brion Vibber Date: Thu, 1 Jun 2006 08:24:22 +0000 (+0000) Subject: Fix regression with unclosed extension tags. X-Git-Tag: 1.31.0-rc.0~56935 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=25e285f0afc21251c952b233d38a74a0b643ec32;p=lhc%2Fweb%2Fwiklou.git Fix regression with unclosed extension tags. Behavior is still silly (PST adds an end tag) but matches prior behavior until fix is made. --- diff --git a/includes/Parser.php b/includes/Parser.php index 2bfa48273c..9ff3e8517a 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -376,7 +376,7 @@ class Parser $content = $q[0]; if( count( $q ) < 2 ) { # No end tag -- let it run out to the end of the text. - break; + $text = ''; } else { $text = $q[1]; }