Eliminated non-static method calls and other bulk fixes to fix php5 warnings
[fa-stable.git] / purchasing / includes / db / suppalloc_db.inc
index 91b533964c02176e029a3fb2f1c4489b304bacc5..1c0f16eb8da44d7f76b6f6f46a06a52bab08b14f 100644 (file)
@@ -81,7 +81,7 @@ function clear_supp_alloctions($type, $type_no, $date="")
                // 2008-09-20 Joe Hunt
                if ($date != "")
                        exchange_variation($type, $type_no, $row['trans_type_to'], $row['trans_no_to'], $date,
-                               $row['amt'], payment_person_types::supplier(), true);
+                               $row['amt'], PT_SUPPLIER, true);
                //////////////////////
        }