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