From 4186ee20732b1e44a7937a29974f0dfd4f7d62bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rytis=20Slatkevi=C4=8Dius?= Date: Fri, 14 Sep 2007 10:02:19 +0000 Subject: [PATCH] Reverse changeset 13581 (it broke more than it fixed) svn path=/trunk/boinc/; revision=13588 --- html/inc/util.inc | 6 ------ 1 file changed, 6 deletions(-) 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; }