summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/helpers/form_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php
index 9c4c4dae6..2f451b402 100644
--- a/system/helpers/form_helper.php
+++ b/system/helpers/form_helper.php
@@ -621,7 +621,7 @@ if ( ! function_exists('form_prep'))
return str_replace(array('<', '>'), array('&lt;', '&gt;'), stripslashes($str));
}
- return str_replace(array("'", '"'), array('&#39;', '&quot;'), stripslashes($data));
+ return str_replace(array("'", '"'), array('&#39;', '&quot;'), stripslashes($str));
}
}