Update api_setup.class.php
This commit is contained in:
parent
2aafef4017
commit
650fbb2bbf
1 changed files with 1 additions and 1 deletions
|
|
@ -475,7 +475,7 @@ class Setup extends DolibarrApi
|
|||
if (!empty($multicurrency)) {
|
||||
$sql.= " AND m.entity IN (".getEntity('multicurrency').")";
|
||||
$sql.= " AND cr.date_sync = (SELECT MAX(cr2.date_sync) FROM ".MAIN_DB_PREFIX."multicurrency_rate AS cr2 WHERE cr2.fk_multicurrency = m.rowid)";
|
||||
}
|
||||
}
|
||||
|
||||
// Add sql filters
|
||||
if ($sqlfilters)
|
||||
|
|
|
|||
Loading…
Reference in a new issue