mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-14 07:49:01 +00:00
Fixed crash when enabling substitute values in meter config
This commit is contained in:
parent
46df07fe40
commit
9fc9adea1c
@ -926,7 +926,7 @@ void AmsWebServer::handleSave() {
|
||||
authenticationKeyHex.replace("0x", "");
|
||||
fromHex(meterConfig->authenticationKey, authenticationKeyHex, 16);
|
||||
}
|
||||
meterConfig->substituteMissing = server.hasArg("s") && server.arg("substituteMissing") == "true";
|
||||
meterConfig->substituteMissing = server.hasArg("s") && server.arg("s") == "true";
|
||||
config->setMeterConfig(*meterConfig);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user