From fafc19a25ad7e77ce4b9b9f7a1e683e2c720ddc5 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 6 Aug 2018 17:14:38 +0200 Subject: [PATCH] Incorrect usage of `continue` Fixes #2730 --- .../files/lib/system/package/PackageUpdateDispatcher.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php b/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php index 83fce7fb96..28f24908d7 100644 --- a/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php @@ -437,7 +437,7 @@ class PackageUpdateDispatcher extends SingletonFactory { break; case 'compatibility': - if ($apiVersion !== '3.1') continue; + if ($apiVersion !== '3.1') continue 2; $packageInfo['versions'][$versionNo]['compatibility'] = []; -- 2.20.1