Skip to content

Avoid php notices the first time it converts for a given day

DaveD requested to merge DaveD/currencyconverter:rate into master

The first time it does a lookup each day you get a red box:

Notice: Trying to access array offset on value of type null in CRM_Currencyconverter_Api->convert() (line 16 of .../CRM/Currencyconverter/Api.php).

Merge request reports

Loading