"/manufacturing/manage/bom_edit.php?stock_id=" . $row["parent"]);
}
-$sql = get_sql_for_where_used($_POST['stock_id']);
+$sql = get_sql_for_where_used(get_post('stock_id'));
$cols = array(
_("Parent Item") => array('fun'=>'select_link'),
end_form();
end_page();
-?>
\ No newline at end of file