summaryrefslogtreecommitdiff
path: root/www/disputes.php
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-02-12 22:38:55 +0100
committerBenny Baumann <BenBE@geshi.org>2013-02-12 23:05:34 +0100
commit20fabacf1714497fab4feff75a3385c22dcf4596 (patch)
tree5158a37dc870f4a967c5668006e599694c56f570 /www/disputes.php
parent72f91ec13b1eb2de50bdc099488d34d064e93aae (diff)
downloadcacert-devel-20fabacf1714497fab4feff75a3385c22dcf4596.tar.gz
cacert-devel-20fabacf1714497fab4feff75a3385c22dcf4596.tar.xz
cacert-devel-20fabacf1714497fab4feff75a3385c22dcf4596.zip
bug 893: changed $rc to $rc2
Diffstat (limited to 'www/disputes.php')
-rw-r--r--www/disputes.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/disputes.php b/www/disputes.php
index 0b22e67..b59e07d 100644
--- a/www/disputes.php
+++ b/www/disputes.php
@@ -18,7 +18,7 @@
<?
require_once("../includes/loggedin.php");
require_once("../includes/temp_functions.php");
-
+
loadem("account");
$type=""; if(array_key_exists('type',$_REQUEST)) $type=$_REQUEST['type'];
@@ -63,7 +63,7 @@
}
mysql_query("update `disputeemail` set hash='',action='accept' where `id`='$emailid'");
$rc = mysql_num_rows(mysql_query("select * from `domains` where `memid`='$oldmemid' and `deleted`=0"));
- $rc = mysql_num_rows(mysql_query("select * from `email` where `memid`='$oldmemid' and `deleted`=0 and `id`!='$emailid'"));
+ $rc2 = mysql_num_rows(mysql_query("select * from `email` where `memid`='$oldmemid' and `deleted`=0 and `id`!='$emailid'"));
$res = mysql_query("select * from `users` where `id`='$oldmemid'");
$user = mysql_fetch_assoc($res);
if($rc == 0 && $rc2 == 0 && $_SESSION['_config']['email'] == $user['email'])
@@ -250,7 +250,7 @@
echo _("You aren't allowed to dispute your own email addresses. Can't continue.");
showfooter();
exit;
- }
+ }
$res = mysql_query("select * from `users` where `id`='$oldmemid'");
$user = mysql_fetch_assoc($res);
@@ -322,7 +322,7 @@
echo _("You aren't allowed to dispute your own domains. Can't continue.");
showfooter();
exit;
- }
+ }
$domainid = $row['id'];
$_SESSION['_config']['domainid'] = $domainid;