Fix application support in AbstractOptionPackageInstallationPlugin
authorFabii547 <fabiangossner@gmail.com>
Wed, 3 Aug 2016 09:44:51 +0000 (11:44 +0200)
committerFabii547 <fabiangossner@gmail.com>
Wed, 3 Aug 2016 09:44:51 +0000 (11:44 +0200)
wcfsetup/install/files/lib/system/package/plugin/AbstractOptionPackageInstallationPlugin.class.php

index c4cfc71186dc56f0d067e83b3f661435b0ca33b0..328f49607c50c1c77efc0d216af60c31bba6c061 100644 (file)
@@ -293,7 +293,7 @@ abstract class AbstractOptionPackageInstallationPlugin extends AbstractXMLPackag
                
                // check if option already exists
                $sql = "SELECT  *
-                       FROM    wcf".WCF_N."_".$this->tableName."
+                       FROM    ".$this->application.WCF_N."_".$this->tableName."
                        WHERE   optionName = ?";
                $statement = WCF::getDB()->prepareStatement($sql);
                $statement->execute([