From f5b26faabcfabc01e83fe9bf76e9d697c6fe4afb Mon Sep 17 00:00:00 2001 From: N0YB Date: Fri, 13 Jun 2014 01:17:27 -0700 Subject: Remove htmlspecialchars() call for a fixed string. --- usr/local/www/widgets/widgets/gateways.widget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/www/widgets/widgets/gateways.widget.php b/usr/local/www/widgets/widgets/gateways.widget.php index 80d9899..4f580ad 100644 --- a/usr/local/www/widgets/widgets/gateways.widget.php +++ b/usr/local/www/widgets/widgets/gateways.widget.php @@ -79,7 +79,7 @@ $counter = 1; if($gateway['ipprotocol'] == "inet6") echo htmlspecialchars(get_interface_gateway_v6($gateway['friendlyiface'])); if( (htmlspecialchars(get_interface_gateway($gateway['friendlyiface'])) == '') && (htmlspecialchars(get_interface_gateway_v6($gateway['friendlyiface'])) == '') ) - echo htmlspecialchars("~"); + echo '~'; } $counter++; ?> -- cgit v1.1