Fix for the correct table to match for files
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 6 Jun 2016 18:19:21 +0000 (14:19 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 6 Jun 2016 18:19:21 +0000 (14:19 -0400)
controllers/ToolboxImport.php

index a643145..da836de 100644 (file)
                    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']}