Skip to content

Commit

Permalink
Fix undefined function 'get_nfilter_filter_request_var'
Browse files Browse the repository at this point in the history
  • Loading branch information
cigamit authored Feb 22, 2025
1 parent 829d17c commit 50bc380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/html.php
Original file line number Diff line number Diff line change
Expand Up @@ -2394,7 +2394,7 @@ function html_make_device_where() {
$sql_where .= ($sql_where != '' ? ' AND ':' (') . 'h.location = ' . get_request_var('host_template_id');
}

if (isset_request_var('external_id') && get_nfilter_filter_request_var('external_id') != '-1') {
if (isset_request_var('external_id') && get_nfilter_request_var('external_id') != '-1') {
$sql_where .= ($sql_where != '' ? ' AND ':' (') . 'h.external_id = ' . db_qstr(get_nfilter_request_var('external_id'));
}

Expand Down

0 comments on commit 50bc380

Please sign in to comment.