mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Handle extractions from the smart timeline when enabled according to the time interval
This commit is contained in:
parent
47aad89868
commit
ba60af3df2
10 changed files with 155 additions and 73 deletions
|
|
@ -221,12 +221,14 @@ end
|
|||
-- ###########################################
|
||||
|
||||
function toboolean(s)
|
||||
if((s == "true") or (s == true)) then
|
||||
if not isEmptyString(s) and (
|
||||
s == "true" or
|
||||
s == true or
|
||||
s == "1" or
|
||||
s == 1) then
|
||||
return true
|
||||
elseif((s == "false") or (s == false)) then
|
||||
return false
|
||||
else
|
||||
return nil
|
||||
return false
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue