From: Brion Vibber Date: Fri, 26 Mar 2004 21:25:48 +0000 (+0000) Subject: Fix missing initialization X-Git-Tag: 1.3.0beta1~690 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=dbf5ee150d1aa64daa661f4cf5d0cd75ee5f2f5f;p=lhc%2Fweb%2Fwiklou.git Fix missing initialization --- diff --git a/includes/Parser.php b/includes/Parser.php index d6fca64fbb..e4204456d0 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -45,7 +45,7 @@ define( "OT_WIKI", 2 ); class Parser { # Cleared with clearState(): - var $mOutput, $mAutonumber, $mLastSection, $mDTopen, $mStripState; + var $mOutput, $mAutonumber, $mLastSection, $mDTopen, $mStripState = array(); var $mVariables, $mIncludeCount; # Temporary: @@ -62,9 +62,9 @@ class Parser $this->mAutonumber = 0; $this->mLastSection = ""; $this->mDTopen = false; - $this->mStripState = false; $this->mVariables = false; $this->mIncludeCount = array(); + $this->mStripState = array(); } # First pass--just handle sections, pass the rest off @@ -135,6 +135,7 @@ class Parser { $render = ($this->mOutputType == OT_HTML); $nowiki_content = array(); + $hiero_content = array(); $math_content = array(); $pre_content = array();