summaryrefslogtreecommitdiffstats
path: root/system/helpers/xml_helper.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-05-17 14:43:09 +0200
committerAndrey Andreev <narf@bofh.bg>2012-05-17 14:43:09 +0200
commite30b3f7afafa2c016cf78cc8bb8a457c2dbcda8c (patch)
tree805c7d92c46d9f669a6eacda3cc7d36faab22116 /system/helpers/xml_helper.php
parentae31eb5e75d914fc3ab622a7ac5c23eb1e6d9f9a (diff)
parent98fde46fb938694feb1f36e590c4cfa5c97c3261 (diff)
Merge pull request #1300 from timw4mail/patch
Fix rest of the helpers
Diffstat (limited to 'system/helpers/xml_helper.php')
-rw-r--r--system/helpers/xml_helper.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/system/helpers/xml_helper.php b/system/helpers/xml_helper.php
index 67fd34b97..958c633dd 100644
--- a/system/helpers/xml_helper.php
+++ b/system/helpers/xml_helper.php
@@ -37,15 +37,15 @@
// ------------------------------------------------------------------------
-/**
- * Convert Reserved XML characters to Entities
- *
- * @param string
- * @param bool
- * @return string
- */
if ( ! function_exists('xml_convert'))
{
+ /**
+ * Convert Reserved XML characters to Entities
+ *
+ * @param string
+ * @param bool
+ * @return string
+ */
function xml_convert($str, $protect_all = FALSE)
{
$temp = '__TEMP_AMPERSANDS__';