Skip to content

Commit 4ace03f

Browse files
committed
Added missing check
1 parent 158449e commit 4ace03f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/lua/flow_details.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ page_utils.print_navbar(title, url, {{
562562
label = "<i class=\"fas fa-lg fa-home\" data-bs-toggle=\"tooltip\" data-bs-placement=\"bottom\" title=\"" .. i18n("overview") ..
563563
"\"></i>"
564564
}, {
565-
hidden = not (flow.modbus) or not ntop.isEnterpriseL(),
565+
hidden = not flow or not (flow.modbus) or not ntop.isEnterpriseL(),
566566
active = page == "modbus",
567567
page_name = "modbus",
568568
label = i18n("details.label_modbus_server")

0 commit comments

Comments
 (0)