From 1bcfa272ec4c479f83844ed7d2022cb5089bac9f Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 17 May 2013 10:03:23 +0200 Subject: [PATCH] Fixes issue with PageMenuPIP --- .../plugin/PageMenuPackageInstallationPlugin.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/system/package/plugin/PageMenuPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/PageMenuPackageInstallationPlugin.class.php index dab7b2f055..79b141ab44 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/PageMenuPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/PageMenuPackageInstallationPlugin.class.php @@ -108,13 +108,13 @@ class PageMenuPackageInstallationPlugin extends AbstractMenuPackageInstallationP ".($data['parentMenuItem'] ? "AND parentMenuItem = ?" : ""); $statement = WCF::getDB()->prepareStatement($sql); - $data = array( + $parameters = array( $data['showOrder'], $data['menuPosition'] ); - if ($data['parentMenuItem']) $data[] = $data['parentMenuItem']; + if ($data['parentMenuItem']) $parameters[] = $data['parentMenuItem']; - $statement->execute($data); + $statement->execute($parameters); // return the wanted showOrder level return $data['showOrder']; -- 2.20.1