Fixed errors/warning due to leaved obsolete code.
[fa-stable.git] / inventory / inquiry / stock_status.php
index ee0e58716551cc5cfc0164cde0222a841ce91995..1ccbca0db1d0273e3a1e5fc7a13ff48486b4803e 100644 (file)
@@ -39,7 +39,7 @@ if (!isset($_POST['stock_id']))
        $_POST['stock_id'] = get_global_stock_item();
 
 echo "<center> " . _("Item:"). " ";
-stock_items_list('stock_id', $_POST['stock_id'], false, true);
+echo stock_items_list('stock_id', $_POST['stock_id'], false, true);
 echo "<br>";
 
 echo "<hr></center>";
@@ -58,7 +58,7 @@ if (is_service($mb_flag))
 
 $loc_details = get_loc_details($_POST['stock_id']);
 
-start_table($table_style);
+start_table(TABLESTYLE);
 
 if ($kitset_or_service == true)
 {