mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Fix for missing . in string concatenation
This commit is contained in:
parent
3d7da1fcc2
commit
aa8789db7f
1 changed files with 6 additions and 4 deletions
|
|
@ -21,11 +21,15 @@ function notifyNtopng(key)
|
|||
end
|
||||
|
||||
-- ############################################
|
||||
|
||||
-- Runtime preference
|
||||
|
||||
function prefsInputFieldPrefs(label, comment, prekey, key, default_value, _input_type, showEnabled, disableAutocomplete)
|
||||
|
||||
k = prekey..key
|
||||
if(string.ends(prekey, ".")) then
|
||||
k = prekey..key
|
||||
else
|
||||
k = prekey.."."..key
|
||||
end
|
||||
|
||||
if(_GET[key] ~= nil) then
|
||||
v_s = _GET[key]
|
||||
|
|
@ -329,8 +333,6 @@ function loggingSelector(label, comment, submit_field, redis_key)
|
|||
else color = "default"
|
||||
end
|
||||
|
||||
|
||||
|
||||
if(label ~= "") then print('<tr><td width=50%><strong>'..label..'</strong><p><small>'..comment..'</small></td><td align=right>\n') end
|
||||
print[[
|
||||
<input id="]] print(submit_field) print[[" name="]] print(submit_field) print[[" value="]] print(value) print[[" type="hidden">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue