From 1293b0ef261fa4bc13e22c18c274da9e5f8ace6c Mon Sep 17 00:00:00 2001 From: Victor Vasiliev Date: Fri, 28 Dec 2007 08:41:45 +0000 Subject: [PATCH] This should be array() by default --- includes/Parser.php | 2 +- includes/ParserOutput.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Parser.php b/includes/Parser.php index 3cad35aa3b..d9a709052b 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -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 diff --git a/includes/ParserOutput.php b/includes/ParserOutput.php index 313b5ea174..9b3c12c1fe 100644 --- a/includes/ParserOutput.php +++ b/includes/ParserOutput.php @@ -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(); -- 2.20.1