Fix direct call of rest endpoints

This commit is contained in:
Alfredo Cardigliano 2023-08-25 09:10:40 +02:00
parent b691841321
commit 8787ff9d46
3 changed files with 7 additions and 1 deletions

View file

@ -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