Code cleanup after db_pager optimization.
[fa-stable.git] / purchasing / inquiry / po_search_completed.php
index f13c95fdf3d920bebb57cec6cf27a4ba1ae3c14a..aa2f269a06d5e136a3dfb7c8fcb46fc46c8589d9 100644 (file)
@@ -170,10 +170,6 @@ if (get_post('StockLocation') != $all_items) {
 
 $table =& new_db_pager('orders_tbl', $sql, $cols);
 
-if (get_post('SearchOrders')) {
-       $table->set_sql($sql);
-       $table->set_columns($cols);
-}
 $table->width = "80%";
 start_form();