From 5b89d7869566f78d0a62f770340850df0fe75c8f Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 10 Jun 2008 01:25:41 +0000 Subject: [PATCH] Use nice wfArrayMerge(), rather than piece of shit PHP function that fucks up the result. I was wondering wtf was going on... --- includes/OutputPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 75938a1f9b..351b2b429e 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -424,7 +424,7 @@ class OutputPage { $this->mNoGallery = $parserOutput->getNoGallery(); $this->mHeadItems = array_merge( $this->mHeadItems, (array)$parserOutput->mHeadItems ); // Versioning... - $this->mTemplateIds = array_merge( $this->mTemplateIds, (array)$parserOutput->mTemplateIds ); + $this->mTemplateIds = wfArrayMerge( $this->mTemplateIds, (array)$parserOutput->mTemplateIds ); // Display title if( ( $dt = $parserOutput->getDisplayTitle() ) !== false ) -- 2.20.1