Fixes recipient link not correctly working (#6906)

This commit is contained in:
MatteoBiscosi 2022-10-03 17:31:29 +02:00
parent 19065241bb
commit 163f2d4ee1

View file

@ -20,7 +20,7 @@ local host_pools = require "host_pools":create()
sendHTTPContentTypeHeader('text/html')
local NOTIFICATION_URL = "/lua/admin/endpoint_notifications_list.lua"
local NOTIFICATION_URL = ntop.getHttpPrefix() .. "/lua/admin/endpoint_notifications_list.lua"
local check_subdir = _GET["subdir"] or "endpoint"
if not isAdministratorOrPrintErr() then
@ -73,7 +73,6 @@ end
-- append the menu above the page
dofile(dirs.installdir .. "/scripts/lua/inc/menu.lua")
local url = ntop.getHttpPrefix() .. "/lua/admin/endpoint_notifications_list.lua"
page_utils.print_navbar(i18n("endpoint_notifications.notifications"), '#', navbar_menu)
-- localize endpoint name types in a table