diff --git a/openid.php b/openid.php index 14e684b..0a8a378 100644 --- a/openid.php +++ b/openid.php @@ -918,7 +918,7 @@ function validate() # wants to verify. stripslashes() should solve that problem, but we can't # use it when magic_quotes is off. $value = $this->data['openid_' . str_replace('.','_',$item)]; - $params['openid.' . $item] = function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc() ? stripslashes($value) : $value; + $params['openid.' . $item] = $this->data['openid_' . str_replace('.','_',$item)]; }