From: Matthias Schmidt Date: Fri, 17 May 2013 08:03:23 +0000 (+0200) Subject: Fixes issue with PageMenuPIP X-Git-Tag: 2.0.0_Beta_1~170 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1bcfa272ec4c479f83844ed7d2022cb5089bac9f;p=GitHub%2FWoltLab%2FWCF.git Fixes issue with PageMenuPIP --- 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'];