More php8 deprecation fixes about required parameters following optional parameters.
[fa-stable.git] / sales / includes / db / custalloc_db.inc
index a1f6a61c5e6ac2af3694a4563bd7f25404c7f8b3..6dc3ee0423dc359d65edd5c29e41470227ce70ff 100644 (file)
@@ -98,7 +98,7 @@ function clear_cust_alloctions($type, $type_no, $person_id=null, $date="")
 }
 //-------------------------------------------------------------------------------------------------------------
 
-function get_allocatable_from_cust_sql($customer_id=null, $settled)
+function get_allocatable_from_cust_sql($customer_id, $settled)
 {
        $sql = "SELECT
                trans.type,