mirror of https://github.com/BOINC/boinc.git
Reverse changeset 13581 (it broke more than it fixed)
svn path=/trunk/boinc/; revision=13588
This commit is contained in:
parent
8066ab1f97
commit
4186ee2073
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue