Eliminated non-static method calls and other bulk fixes to fix php5 warnings
[fa-stable.git] / sales / view / view_credit.php
index d36df28296a499e8c0dc38610185f9211fd968ff..85cd1de3fe53704ba2067c6729918b5621a1a6f8 100644 (file)
@@ -147,7 +147,7 @@ end_table(1);
 $voided = is_voided_display(11, $trans_id, _("This credit note has been voided."));
 
 if (!$voided)
-       display_allocations_from(payment_person_types::customer(),
+       display_allocations_from(PT_CUSTOMER,
                $myrow['debtor_no'], 11, $trans_id, $credit_total);
 
 /* end of check to see that there was an invoice record to print */