More php8 deprecation fixes about required parameters following optional parameters.
[fa-stable.git] / purchasing / includes / db / suppalloc_db.inc
index e8506bb04c6ff5101ae788730aa0bb03a861ad7c..ad83e7e4011224f03c381d0dfb532599f426e37b 100644 (file)
@@ -100,7 +100,7 @@ function clear_supp_alloctions($type, $type_no, $person_id=null, $date="")
 }
 //-------------------------------------------------------------------------------------------------------------
 
-function get_allocatable_from_supp_sql($supplier_id=null, $settled)
+function get_allocatable_from_supp_sql($supplier_id, $settled)
 {
        $sql = "SELECT
                trans.type,