From 54939584d84c1992203241a39cf235abeaf63dd1 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 26 Nov 2015 19:42:08 +0100 Subject: [PATCH] Fixed class reference --- .../plugin/AbstractXMLPackageInstallationPlugin.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 1980c7c456..b1be298988 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php @@ -204,6 +204,7 @@ abstract class AbstractXMLPackageInstallationPlugin extends AbstractPackageInsta // update existing item $baseClass = call_user_func(array($this->className, 'getBaseClass')); + /** @var \wcf\data\DatabaseObjectEditor $itemEditor */ $itemEditor = new $this->className(new $baseClass(null, $row)); $itemEditor->update($data); @@ -373,7 +374,7 @@ abstract class AbstractXMLPackageInstallationPlugin extends AbstractPackageInsta return false; } } - catch (\SystemException $e) { + catch (SystemException $e) { return false; } -- 2.20.1