Eliminated non-static method calls and other bulk fixes to fix php5 warnings
[fa-stable.git] / purchasing / allocations / supplier_allocate.php
index 4a4b85a829058ba2b3e4957fe0141d8f5c436262..4997b2de51255889b3770ad0f853f4a857e641c6 100644 (file)
@@ -45,7 +45,7 @@ function edit_allocations_for_transaction($type, $trans_no)
 {
        start_form();
 
-    display_heading(_("Allocation of") . " " . systypes::name($_SESSION['alloc']->type) . " # " . $_SESSION['alloc']->trans_no);
+    display_heading(_("Allocation of") . " " . $systypes_array[$_SESSION['alloc']->type] . " # " . $_SESSION['alloc']->trans_no);
 
        display_heading($_SESSION['alloc']->person_name);