From: Alexander Ebert Date: Tue, 1 Dec 2015 13:03:51 +0000 (+0100) Subject: Using `else if` instead of `elseif` X-Git-Tag: 3.0.0_Beta_1~2030^2~219 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c1e54023ad00dfcba7476562a6b7984410add9e8;p=GitHub%2FWoltLab%2FWCF.git Using `else if` instead of `elseif` --- 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."); }