This should be array() by default
authorVictor Vasiliev <vasilievvv@users.mediawiki.org>
Fri, 28 Dec 2007 08:41:45 +0000 (08:41 +0000)
committerVictor Vasiliev <vasilievvv@users.mediawiki.org>
Fri, 28 Dec 2007 08:41:45 +0000 (08:41 +0000)
includes/Parser.php
includes/ParserOutput.php

index 3cad35a..d9a7090 100644 (file)
@@ -48,7 +48,7 @@ class Parser
         * changes in an incompatible way, so the parser cache
         * can automatically discard old data.
         */
-       const VERSION = '1.6.3';
+       const VERSION = '1.6.4';
 
        # Flags for Parser::setFunctionHook
        # Also available as global constants from Defines.php
index 313b5ea..9b3c12c 100644 (file)
@@ -39,7 +39,7 @@ class ParserOutput
                $this->mCacheTime = '';
                $this->mVersion = Parser::VERSION;
                $this->mTitleText = $titletext;
-               $this->mSections = '';
+               $this->mSections = array();
                $this->mLinks = array();
                $this->mTemplates = array();
                $this->mImages = array();