Fixed errors/warning due to leaved obsolete code.
[fa-stable.git] / inventory / adjustments.php
index 20ac09d1971bb7fcc51ec29005663fcfb0f4859b..205a3cb247c66bfae80b5a505e1e165b70e6446f 100644 (file)
@@ -67,7 +67,7 @@ function handle_new_order()
                unset ($_SESSION['adj_items']);
        }
 
-    session_register("adj_items");
+    //session_register("adj_items");
 
     $_SESSION['adj_items'] = new items_cart(ST_INVADJUST);
        $_POST['AdjDate'] = new_doc_date();
@@ -223,7 +223,7 @@ start_form();
 
 display_order_header($_SESSION['adj_items']);
 
-start_outer_table("$table_style width=70%", 10);
+start_outer_table(TABLESTYLE, "width=70%", 10);
 
 display_adjustment_items(_("Adjustment Items"), $_SESSION['adj_items']);
 adjustment_options_controls();