From c1e54023ad00dfcba7476562a6b7984410add9e8 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 1 Dec 2015 14:03:51 +0100 Subject: [PATCH] Using `else if` instead of `elseif` --- .../package/plugin/MenuItemPackageInstallationPlugin.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/package/plugin/MenuItemPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/MenuItemPackageInstallationPlugin.class.php index 8304ef03ad..1f946aa6c6 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/MenuItemPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/MenuItemPackageInstallationPlugin.class.php @@ -131,7 +131,7 @@ class MenuItemPackageInstallationPlugin extends AbstractXMLPackageInstallationPl if ($pageID === null && empty($externalURL)) { throw new SystemException("The menu item '" . $data['attributes']['identifier'] . "' must either have an associated page or an external url set."); } - elseif ($pageID !== null && !empty($externalURL)) { + else if ($pageID !== null && !empty($externalURL)) { throw new SystemException("The menu item '" . $data['attributes']['identifier'] . "' can either have an associated page or an external url, but not both."); } -- 2.20.1