Update societe.class.php

This commit is contained in:
Laurent Destailleur 2019-06-20 04:11:10 +02:00 committed by GitHub
parent d64e6a6a1b
commit e60020140d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3455,7 +3455,7 @@ class Societe extends CommonObject
}
else // For backward compatibility
{
dol_syslog("Your country setup use an old syntax. Reedit it using setup area.", LOG_ERR);
dol_syslog("Your country setup use an old syntax. Reedit it using setup area.", LOG_WARNING);
include_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
$country_code=getCountry($country_id, 2, $this->db); // This need a SQL request, but it's the old feature that should not be used anymore
$country_label=getCountry($country_id, 0, $this->db); // This need a SQL request, but it's the old feature that should not be used anymore