From aa8856adf30b55d3e26100212d4b42b5f29717f4 Mon Sep 17 00:00:00 2001 From: tablatronix <807787+tablatronix@users.noreply.github.com> Date: Tue, 2 May 2023 15:03:29 -0500 Subject: [PATCH] #1583 missed this one --- WiFiManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WiFiManager.cpp b/WiFiManager.cpp index 76d07e2..5723305 100644 --- a/WiFiManager.cpp +++ b/WiFiManager.cpp @@ -1928,7 +1928,7 @@ void WiFiManager::doParamSave(){ #endif for (int i = 0; i < _paramsCount; i++) { - if (_params[i] == NULL || _params[i]->_length == 0) { + if (_params[i] == NULL || _params[i]->_length > 99999) { #ifdef WM_DEBUG_LEVEL DEBUG_WM(DEBUG_ERROR,F("[ERROR] WiFiManagerParameter is out of scope")); #endif