Fix reset regole veto/pass in redis
This commit is contained in:
@@ -1133,7 +1133,7 @@ namespace GMW_data
|
||||
bool answ = false;
|
||||
// cerco se avessi già in redis un controllo particolare/linea attivo e il suo risultato...
|
||||
string mHash = memLayer.ML.redHash($"lineePartVeto:{Postazione.currCodLinea}:{codParticolare}");
|
||||
if (memLayer.ML.getRSV(mHash) != "")
|
||||
if (memLayer.ML.getRSV(mHash) != null && memLayer.ML.getRSV(mHash) != "")
|
||||
{
|
||||
// recupero info...
|
||||
bool.TryParse(memLayer.ML.getRSV(mHash), out answ);
|
||||
|
||||
Reference in New Issue
Block a user