Code cleanup after db_pager optimization.
[fa-stable.git] / purchasing / allocations / supplier_allocation_main.php
index 06e24e4fedec4bac5e93bd68c96a133214f163c2..4796399d97770ef515a47560b6165b411abb9e6f 100644 (file)
@@ -117,10 +117,6 @@ if (isset($_POST['customer_id'])) {
 $table =& new_db_pager('alloc_tbl', $sql, $cols);
 $table->set_marker('check_settled', _("Marked items are settled."), 'settledbg', 'settledfg');
 
-if (get_post('_ShowSettled_update') || get_post('_supplier_id_update') ) {
-       $table->set_sql($sql);
-       $table->set_columns($cols);
-}
 $table->width = "80%";
 start_form();