summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-07-14 04:58:50 +0000
committerColin Smith <colin@pfsense.org>2005-07-14 04:58:50 +0000
commit9ef924ebaf9be4a2cb49479383a3188562bcea34 (patch)
tree51f723e9800b8d98f58b319cbdd340a4e477f773 /etc
parent01c7d0c39dfad5a7d8ff59a818845e279e8bfe30 (diff)
downloadpfsense-9ef924ebaf9be4a2cb49479383a3188562bcea34.zip
pfsense-9ef924ebaf9be4a2cb49479383a3188562bcea34.tar.gz
Remove duplicate string.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/util.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc
index fdda3b9..58f13b3 100644
--- a/etc/inc/util.inc
+++ b/etc/inc/util.inc
@@ -425,10 +425,10 @@ function arp_get_mac_by_ip($ip) {
/* return a fieldname that is safe for xml usage */
function xml_safe_fieldname($fieldname) {
$replace = array('/', '-', ' ', '!', '@', '#', '$', '%', '^', '&', '*', '(', ')',
- '_', '+', '=', '{', '}', '[', ']', '|', '\', '/', '<', '>', '?',
+ '_', '+', '=', '{', '}', '[', ']', '|', '/', '<', '>', '?',
':', ',', '.', '\'', '\\'
);
return strtolower(str_replace($replace, "", $fieldname));
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud