mirror of
https://github.com/ntop/ntopng.git
synced 2026-08-31 01:44:46 +00:00
Fix direct call of rest endpoints
This commit is contained in:
parent
b691841321
commit
8787ff9d46
3 changed files with 7 additions and 1 deletions
|
|
@ -1298,6 +1298,11 @@ end
|
|||
-- ##############################################
|
||||
|
||||
function tablePreferences(key, value, force_set)
|
||||
if not _SESSION then
|
||||
-- Not in a user session, ignore preferences
|
||||
return
|
||||
end
|
||||
|
||||
table_key = getRedisPrefix("ntopng.sort.table")
|
||||
|
||||
if((value == nil) or (value == "")) and (force_set ~= true) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue