diff --git a/html/inc/util.inc b/html/inc/util.inc
index 28ca1a58d7..af0b843ba2 100644
--- a/html/inc/util.inc
+++ b/html/inc/util.inc
@@ -614,9 +614,6 @@ function get_str($name, $optional=false) {
if (!$x && !$optional) {
error_page("missing or bad parameter: $name");
}
- if (get_magic_quotes_gpc() == 0) {
- $x = addslashes($x);
- }
return $x;
}
@@ -635,9 +632,6 @@ function post_str($name, $optional=false) {
if (!$x && !$optional) {
error_page("missing or bad parameter: $name");
}
- if (get_magic_quotes_gpc() == 0) {
- $x = addslashes($x);
- }
return $x;
}