Removes none-existing database table column from query
authorMatthias Schmidt <gravatronics@live.com>
Sun, 9 Dec 2012 16:04:50 +0000 (17:04 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 9 Dec 2012 16:04:50 +0000 (17:04 +0100)
files/lib/acp/form/LanguageExportForm.class.php

index eb82b9440218faebd8bf7c711f48d8b1afb1d645..bc33587a8c9d2faf4c3297e1a035b87478041ffb 100644 (file)
@@ -144,8 +144,7 @@ class LanguageExportForm extends ACPForm {
         * Read available packages.
         */
        protected function readPackages() {
-               $sql = "SELECT          *,
-                                       CASE WHEN instanceName <> '' THEN instanceName ELSE packageName END AS packageName
+               $sql = "SELECT          *
                        FROM            wcf".WCF_N."_package
                        ORDER BY        packageName";
                $statement = WCF::getDB()->prepareStatement($sql);