From 0d3fd03fda04fdc87e1581a32679945540026cb7 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sun, 26 May 2013 15:52:26 +0200 Subject: [PATCH] Fixed page menu PIP issue --- .../package/plugin/PageMenuPackageInstallationPlugin.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 79b141ab44..fc18abe5f0 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/PageMenuPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/PageMenuPackageInstallationPlugin.class.php @@ -105,7 +105,7 @@ class PageMenuPackageInstallationPlugin extends AbstractMenuPackageInstallationP SET showOrder = showOrder + 1 WHERE showOrder >= ? AND menuPosition = ? - ".($data['parentMenuItem'] ? "AND parentMenuItem = ?" : ""); + AND parentMenuItem = ".($data['parentMenuItem'] ? "?" : "''"); $statement = WCF::getDB()->prepareStatement($sql); $parameters = array( -- 2.20.1