This commit is contained in:
Shawn A
2018-01-27 08:49:55 -06:00
parent 42cd1aeb8d
commit 867eb4e689
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -801,7 +801,7 @@ String WiFiManager::getParamOut(){
if(tok_n)pitem.replace("{n}", _params[i]->getID());
if(tok_p)pitem.replace("{p}", "{t}");
if(tok_t)pitem.replace("{t}", _params[i]->getPlaceholder());
// snprintf(parLength, 5, "%d", _params[i]->getValueLength());
snprintf(parLength, 5, "%d", _params[i]->getValueLength());
if(tok_l)pitem.replace("{l}", parLength);
if(tok_v)pitem.replace("{v}", _params[i]->getValue());
if(tok_c)pitem.replace("{c}", _params[i]->getCustomHTML()); // meant for additional attributes, not html