From f65af12ca91575337eda117fad4db6e96ed5bd43 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 8 Nov 2016 10:26:57 -0500 Subject: [PATCH] take out where part --- controllers/ToolboxImport.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/controllers/ToolboxImport.php b/controllers/ToolboxImport.php index db2929a..573b4eb 100644 --- a/controllers/ToolboxImport.php +++ b/controllers/ToolboxImport.php @@ -358,13 +358,11 @@ { $this->_connect(); $WHERE = $this->_getWhereSql(); - $WHERE = " WHERE id = 10"; $pageSql = " SELECT * FROM {$this->_options['toolbox_schema']}.{$this->_options['toolbox_page_table']} $WHERE ORDER BY parent,pos"; - $pageSql .= " LIMIT 1 OFFSET 0"; echo '
$pageSql: ' . print_r( $pageSql, true ) . '
'; //$pageSql .= ($limit) ? " LIMIT $limit OFFSET $offset" : ''; $pageData = $this->_dbh->query($pageSql)->fetchAll(PDO::FETCH_ASSOC); -- 2.17.1