Cleanup comments. Small bugfixes. Third run
[fa-stable.git] / manufacturing / manage / bom_edit.php
index aca1d7610ff1f31d6348faceb8815637d018c38b..5d60f317848aac4fca39d6dca0ebc376a33e20ec 100644 (file)
@@ -27,37 +27,12 @@ simple_page_mode(true);
 $selected_component = $selected_id;
 //--------------------------------------------------------------------------------------------------
 
-//if (isset($_GET["NewItem"]))
-//{
-//     $_POST['stock_id'] = $_GET["NewItem"];
-//}
 if (isset($_GET['stock_id']))
 {
        $_POST['stock_id'] = $_GET['stock_id'];
        $selected_parent =  $_GET['stock_id'];
 }
 
-/* selected_parent could come from a post or a get */
-/*if (isset($_GET["selected_parent"]))
-{
-       $selected_parent = $_GET["selected_parent"];
-}
-else if (isset($_POST["selected_parent"]))
-{
-       $selected_parent = $_POST["selected_parent"];
-}
-*/
-/* selected_component could also come from a post or a get */
-/*if (isset($_GET["selected_component"]))
-{
-       $selected_component = $_GET["selected_component"];
-}
-else
-{
-       $selected_component = get_post("selected_component", -1);
-}
-*/
-
 //--------------------------------------------------------------------------------------------------
 
 function display_bom_items($selected_parent)