Fix missing default value for new parameter

This commit is contained in:
phf 2016-12-11 21:15:24 +01:00
parent f5bffeb535
commit 1db907e2af

View File

@ -513,7 +513,7 @@ class MultiCurrency extends CommonObject
* @return array [0] => id currency
* [1] => rate
*/
public static function getIdAndTxFromCode(&$db, $code, $date_document)
public static function getIdAndTxFromCode(&$db, $code, $date_document='')
{
global $conf;