Cleanup: removed _GET/_POST references from business logic model.
[fa-stable.git] / manufacturing / inquiry / where_used_inquiry.php
index 10fce898a820d658f5c2cf3649634a8ccb798f55..dc510cec22ca748fa1e1b3dcf384a158f9ef673e 100644 (file)
@@ -37,7 +37,7 @@ function select_link($row)
                "/manufacturing/manage/bom_edit.php?stock_id=" . $row["parent"]);
 }
 
-$sql = get_sql_for_where_used();
+$sql = get_sql_for_where_used($_POST['stock_id']);
 
    $cols = array(
        _("Parent Item") => array('fun'=>'select_link'),