summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorN0YB <Al_Stu@Frontier.com>2014-06-13 01:17:27 -0700
committerN0YB <Al_Stu@Frontier.com>2014-06-13 01:17:27 -0700
commitf5b26faabcfabc01e83fe9bf76e9d697c6fe4afb (patch)
treede99fe31ccd20d65eccf74c2752867f14c35f2bf
parent529ba86a3fc03a9a370c179ea73eb147ae2ef0dc (diff)
downloadpfsense-f5b26faabcfabc01e83fe9bf76e9d697c6fe4afb.zip
pfsense-f5b26faabcfabc01e83fe9bf76e9d697c6fe4afb.tar.gz
Remove htmlspecialchars() call for a fixed string.
-rw-r--r--usr/local/www/widgets/widgets/gateways.widget.php2
1 files changed, 1 insertions, 1 deletions
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++;
?>
OpenPOWER on IntegriCloud