Fix tag azienda UPPERCASE
This commit is contained in:
+1
-1
@@ -1692,7 +1692,7 @@ namespace MapoDb
|
||||
// recupero conf azienda...
|
||||
string CodAzienda = "*";
|
||||
var listConf = taConfig.GetData();
|
||||
var recAzienda = listConf.Where(x => x.chiave.ToUpper() == "AZIENDA").FirstOrDefault();
|
||||
var recAzienda = listConf.Where(x => x.chiave.Equals("AZIENDA", StringComparison.CurrentCultureIgnoreCase)).FirstOrDefault();
|
||||
if (recAzienda != null)
|
||||
{
|
||||
CodAzienda = recAzienda.valore != "*" ? recAzienda.valore : recAzienda.valoreStd;
|
||||
|
||||
Reference in New Issue
Block a user