More php8 deprecation fixes about required parameters following optional parameters.
[fa-stable.git] / includes / ui / ui_view.inc
index 99a753d5ef5623cf808f21eaf904373b9c7d1b9f..d4e1c50b1319ba45e72da2e57b5f799b57de947a 100644 (file)
@@ -270,7 +270,7 @@ function check_ui_refresh($name=null)
 // When there is no exrate for today, 
 // gets it form ECB and stores in local database.
 //
-function exchange_rate_display($from_currency=null, $to_currency=null, $date_, $force_edit=false)
+function exchange_rate_display($from_currency, $to_currency, $date_, $force_edit=false)
 {
     global $Ajax, $SysPrefs;