Eliminated non-static method calls and other bulk fixes to fix php5 warnings
[fa-stable.git] / gl / bank_account_reconcile.php
index 1810b6417c9ddcaa92b94db153ceead6fd45d157..1bc6530068c478de56579cc966c6c84ea4974ac0 100644 (file)
@@ -59,7 +59,9 @@ function rec_checkbox($row)
 
 function systype_name($dummy, $type)
 {
-       return systypes::name($type);
+       global $systypes_array;
+       
+       return $systypes_array[$type];
 }
 
 function trans_view($trans)
@@ -86,7 +88,7 @@ function fmt_credit($row)
 
 function fmt_person($row)
 {
-       return payment_person_types::person_name($row["person_type_id"],$row["person_id"]);
+       return payment_person_name($row["person_type_id"],$row["person_id"]);
 }
 
 $update_pager = false;