Fixed register_globals bugs

pull/1/head
root 16 years ago
parent 9f6f656f8a
commit db0b2d2a9b

@ -88,8 +88,8 @@
if($type == "email") if($type == "email")
{ {
$emailid = intval($emailid); $emailid = intval($_REQUEST['emailid']);
$hash = trim(mysql_escape_string(stripslashes($hash))); $hash = trim(mysql_escape_string(stripslashes($_REQUEST['hash'])));
if($emailid <= 0 || $hash == "") if($emailid <= 0 || $hash == "")
{ {
showheader(_("Email Dispute")); showheader(_("Email Dispute"));
@ -179,8 +179,8 @@
if($type == "domain") if($type == "domain")
{ {
$domainid = intval($domainid); $domainid = intval($_REQUEST['domainid']);
$hash = trim(mysql_escape_string(stripslashes($hash))); $hash = trim(mysql_escape_string(stripslashes($_REQUEST['hash'])));
if($domainid <= 0 || $hash == "") if($domainid <= 0 || $hash == "")
{ {
showheader(_("Domain Dispute")); showheader(_("Domain Dispute"));

Loading…
Cancel
Save