More php8 deprecation fixes about required parameters following optional parameters.
[fa-stable.git] / gl / includes / db / gl_db_banking.inc
index 1a6aed3e857b6c78ea52d4a75ad3cd298b7f5947..14c7f14feca65cee7b6dd62295bb357df2045c27 100644 (file)
@@ -143,7 +143,7 @@ function get_account_home_balance($person_id, $person_type, $rec_account, $to_da
 // Note: in 2.4.9 sparse 'ref' argument was removed (generated transactions use
 // next references from default refline).
 //
-function add_exchange_variation_all($date=null, $memo)
+function add_exchange_variation_all($date, $memo)
 {
        begin_transaction();
        $exchanged = false;