PHP 8 rerun of number_format fix.
[fa-stable.git] / manufacturing / inquiry / where_used_inquiry.php
index f12784761b80a704a5c9202802ee4062bb0b8476..62f7d91b870e483ca05206a2f92bf7f090ef3645 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($_POST['stock_id']);
+$sql = get_sql_for_where_used(get_post('stock_id'));
 
    $cols = array(
        _("Parent Item") => array('fun'=>'select_link'),