Eliminated non-static method calls and other bulk fixes to fix php5 warnings
[fa-stable.git] / sales / manage / customers.php
index a2b79cb9de92211f963c1c47315d3fd502515dfe..5120916ea0f108f6135ea4167bcbbbdcf608a74c 100644 (file)
@@ -222,7 +222,7 @@ if ($new_customer)
        $_POST['credit_status']  = -1;
        $_POST['payment_terms']  = '';
        $_POST['discount']  = $_POST['pymt_discount'] = percent_format(0);
-       $_POST['credit_limit']  = price_format(sys_prefs::default_credit_limit());
+       $_POST['credit_limit']  = price_format($SysPrefs->default_credit_limit());
        $_POST['inactive'] = 0;
 } 
 else