Fix tag azienda UPPERCASE
This commit is contained in:
@@ -112,7 +112,7 @@ namespace MP_ADM.WebUserControls
|
||||
// recupero codAzienda corrente...
|
||||
string CodAzienda = "*";
|
||||
var listConf = DataLayerObj.taConfig.GetData();
|
||||
var recAzienda = listConf.Where(x => x.chiave == "Azienda").FirstOrDefault();
|
||||
var recAzienda = listConf.Where(x => x.chiave.Equals("AZIENDA", StringComparison.InvariantCultureIgnoreCase)).FirstOrDefault();
|
||||
if (recAzienda != null)
|
||||
{
|
||||
CodAzienda = recAzienda.valore != "*" ? recAzienda.valore : recAzienda.valoreStd;
|
||||
|
||||
+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