Cleanup in db_pager get_sql and testing it.
[fa-stable.git] / purchasing / inquiry / supplier_allocation_inquiry.php
index 3c97c51c6d0c1f239832b46d55e8f20e5701a115..62dddd94e5857af686719310324b63712a1b7b74 100644 (file)
@@ -120,8 +120,8 @@ function fmt_credit($row)
 }
 //------------------------------------------------------------------------------------------------
 
-$sql = get_sql_for_supplier_allocation_inquiry($_POST['TransAfterDate'],$_POST['TransToDate'],
-       $_POST['filterType'], $_POST['supplier_id'], check_value('showSettled'));
+$sql = get_sql_for_supplier_allocation_inquiry(get_post('TransAfterDate'),get_post('TransToDate'),
+       get_post('filterType'), get_post('supplier_id'), check_value('showSettled'));
 
 $cols = array(
        _("Type") => array('fun'=>'systype_name'),