From 63cc6d128fa1ef5f8adb8470916f04fdc3a7d7fd Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 27 May 2013 00:26:45 +0200 Subject: [PATCH] Added even more debugging --- .../plugin/AbstractXMLPackageInstallationPlugin.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wcfsetup/install/files/lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php index b0af1d24c3..f262551be3 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php @@ -314,6 +314,10 @@ abstract class AbstractXMLPackageInstallationPlugin extends AbstractPackageInsta * @return integer */ protected function getShowOrder($showOrder, $parentName = null, $columnName = null, $tableNameExtension = '') { + if ($this instanceof PageMenuPackageInstallationPlugin) { + file_put_contents(WCF_DIR.'__pageMenu.log', "\tWARNING: Accessed AbstractXMLPackageInstallationPlugin::getShowOrder() (page menu pip has own method: " . (method_exists('wcf\system\package\plugin\PageMenuPackageInstallationPlugin', 'getShowOrder') ? 'yes' : 'no') . ")\n", FILE_APPEND); + } + if ($showOrder === null) { // get greatest showOrder value $conditions = new PreparedStatementConditionBuilder(); -- 2.20.1