@@ -1138,7 +1138,7 @@ function hosts($header_label) {
11381138 <script type='text/javascript'>
11391139
11401140 function applyFilter() {
1141- strURL = '?header=false&action=edit&id=<?php print get_request_var ('id ' ); ?> '
1141+ strURL = '?header=false&action=edit&id=<?php print ( int ) get_filter_request_var ('id ' ); ?> '
11421142 strURL += '&rows=' + $('#rows').val();
11431143 strURL += '&host_template_id=' + $('#host_template_id').val();
11441144 strURL += '&site_id=' + $('#site_id').val();
@@ -1148,7 +1148,7 @@ function applyFilter() {
11481148 }
11491149
11501150 function clearFilter() {
1151- strURL = 'notify_lists.php?header=false&action=edit&id=<?php print get_request_var ('id ' ); ?> &clear=true'
1151+ strURL = 'notify_lists.php?header=false&action=edit&id=<?php print ( int ) get_filter_request_var ('id ' ); ?> &clear=true'
11521152 loadPageNoHeader(strURL);
11531153 }
11541154
@@ -1507,7 +1507,7 @@ function tholds($header_label) {
15071507 <script type='text/javascript'>
15081508
15091509 function applyFilter() {
1510- strURL = 'notify_lists.php?header=false&action=edit&tab=tholds&id=<?php print get_request_var ('id ' ); ?> '
1510+ strURL = 'notify_lists.php?header=false&action=edit&tab=tholds&id=<?php print ( int ) get_filter_request_var ('id ' ); ?> '
15111511 strURL += '&associated=' + $('#associated').is(':checked');
15121512 strURL += '&state=' + $('#state').val();
15131513 strURL += '&site_id=' + $('#site_id').val();
@@ -1518,7 +1518,7 @@ function applyFilter() {
15181518 }
15191519
15201520 function clearFilter() {
1521- strURL = 'notify_lists.php?header=false&action=edit&tab=tholds&id=<?php print get_request_var ('id ' ); ?> &clear=true'
1521+ strURL = 'notify_lists.php?header=false&action=edit&tab=tholds&id=<?php print ( int ) get_filter_request_var ('id ' ); ?> &clear=true'
15221522 loadPageNoHeader(strURL);
15231523 }
15241524
@@ -1796,15 +1796,15 @@ function templates($header_label) {
17961796 <script type='text/javascript'>
17971797
17981798 function applyFilter() {
1799- strURL = 'notify_lists.php?header=false&action=edit&tab=templates&id=<?php print get_request_var ('id ' ); ?> '
1799+ strURL = 'notify_lists.php?header=false&action=edit&tab=templates&id=<?php print ( int ) get_filter_request_var ('id ' ); ?> '
18001800 strURL += '&associated=' + $('#associated').is(':checked');
18011801 strURL += '&rows=' + $('#rows').val();
18021802 strURL += '&rfilter=' + base64_encode($('#rfilter').val());
18031803 loadPageNoHeader(strURL);
18041804 }
18051805
18061806 function clearFilter() {
1807- strURL = 'notify_lists.php?header=false&action=edit&tab=templates&id=<?php print get_request_var ('id ' ); ?> &clear=true'
1807+ strURL = 'notify_lists.php?header=false&action=edit&tab=templates&id=<?php print ( int ) get_filter_request_var ('id ' ); ?> &clear=true'
18081808 loadPageNoHeader(strURL);
18091809 }
18101810
0 commit comments