Fix database table prefix of blog entry categories
authorMatthias Schmidt <gravatronics@live.com>
Thu, 8 Jan 2015 16:49:35 +0000 (17:49 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 8 Jan 2015 16:49:35 +0000 (17:49 +0100)
files/lib/system/exporter/WBB4xExporter.class.php

index 024079ac3ed7e05427b66d0d29cf3a82a59e86f0..037785e1dedb42f396e2390e305706fcff499b2a 100644 (file)
@@ -1399,7 +1399,7 @@ class WBB4xExporter extends AbstractExporter {
                $conditionBuilder->add('entryID IN (?)', array($entryIDs));
                
                $sql = "SELECT          * 
-                       FROM            blog".WCF_N."_entry_to_category
+                       FROM            blog".$this->dbNo."_entry_to_category
                        ".$conditionBuilder;
                $statement = $this->database->prepareStatement($sql);
                $statement->execute($conditionBuilder->getParameters());