From: Steve Sutton Date: Mon, 6 Jun 2016 18:19:21 +0000 (-0400) Subject: Fix for the correct table to match for files X-Git-Tag: v0.1.2^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=d5c3a9ba0bf4ddd6760a729c59afed1f93ef0121;p=WP-Plugins%2Fglm-wp-importer.git Fix for the correct table to match for files --- diff --git a/controllers/ToolboxImport.php b/controllers/ToolboxImport.php index a643145..da836de 100644 --- a/controllers/ToolboxImport.php +++ b/controllers/ToolboxImport.php @@ -392,7 +392,7 @@ WHERE bcb.catid = :page ORDER BY bcb.pos"; $paraStmt = $this->_dbh->prepare($paragraphSql); - if ($this->_options['toolbox_files_table'] == 'pages') { + if ($this->_options['toolbox_files_table'] == 'files') { $fileSql = " SELECT * FROM {$this->_options['toolbox_schema']}.{$this->_options['toolbox_files_table']}