From d0d1d60fbbf4bd8379daed2eb0dc30c3b618b5f6 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Wed, 12 May 2010 20:01:11 +0000 Subject: [PATCH] array_unshift() returns the count of elements in the array, not the array and thus this breaks when enabling extensions --- includes/installer/Installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index d055e0e474..ac683361eb 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -826,7 +826,7 @@ abstract class Installer { $this->installSteps = array( 'localsettings' ); } if( count( $this->getVar( '_Extensions' ) ) ) { - $this->installSteps = array_unshift( $this->installSteps, 'extensions' ); + array_unshift( $this->installSteps, 'extensions' ); } return $this->installSteps; } -- 2.20.1