Code comment

This commit is contained in:
Laurent Destailleur 2021-05-03 11:00:41 +02:00
parent 0aef431c2a
commit 2a47128e2d
2 changed files with 2 additions and 2 deletions

View File

@ -170,7 +170,7 @@ if ($action == 'validatehistory') {
while ($i < min($num_lines, 10000)) { // No more than 10000 at once
$objp = $db->fetch_object($result);
$isBuyerInEEC = isInEEC($objp);
$isBuyerInEEC = isInEEC($objp); // This make a database request but there is a cache into $conf->cache['country_code_in_EEC']
// Level 2: Search suggested account for product/service (similar code exists in page list.php to make manual binding)
$suggestedaccountingaccountfor = '';

View File

@ -754,7 +754,7 @@ function isInEEC($object)
return false;
}
$country_code_in_EEC = getCountriesInEEC();
$country_code_in_EEC = getCountriesInEEC(); // This make a database call but there is a cache done into $conf->cache['country_code_in_EEC']
//print "dd".$object->country_code;
return in_array($object->country_code, $country_code_in_EEC);