summaryrefslogtreecommitdiff
path: root/pages/account
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2015-05-12 23:21:25 +0200
committerBenny Baumann <BenBE@geshi.org>2015-05-12 23:21:25 +0200
commitb9d8afd498aa01de66c84845edadd22d43934a14 (patch)
tree793d1f7f49e0af17738af2d9760550722010ec78 /pages/account
parentcdf3dc9fb536596c55470a6541b6f393686a35fa (diff)
parent3abe7dcec217fd183e042e66e4356738af019e41 (diff)
downloadcacert-devel-b9d8afd498aa01de66c84845edadd22d43934a14.tar.gz
cacert-devel-b9d8afd498aa01de66c84845edadd22d43934a14.tar.xz
cacert-devel-b9d8afd498aa01de66c84845edadd22d43934a14.zip
Merge branch 'bug-1050' into bug-1042
Diffstat (limited to 'pages/account')
-rw-r--r--pages/account/43.php16
1 files changed, 9 insertions, 7 deletions
diff --git a/pages/account/43.php b/pages/account/43.php
index 7ea782d..2774fb2 100644
--- a/pages/account/43.php
+++ b/pages/account/43.php
@@ -116,13 +116,6 @@ if(intval($_REQUEST['userid']) > 0) {
if(mysql_num_rows($res) <= 0) {
echo _("I'm sorry, the user you were looking for seems to have disappeared! Bad things are afoot!");
} else {
- $row = mysql_fetch_assoc($res);
- $query = "select sum(`points`) as `points` from `notary` where `to`='".intval($row['id'])."' and `deleted` = 0";
- $dres = mysql_query($query);
- $drow = mysql_fetch_assoc($dres);
- $alerts =get_alerts(intval($row['id']));
-
-//display account data
//deletes an assurance
if(array_key_exists('assurance',$_REQUEST) && $_REQUEST['assurance'] > 0 && $ticketvalidation == true)
@@ -144,6 +137,15 @@ if(intval($_REQUEST['userid']) > 0) {
$ticketmsg=_('No assurance revoked. Ticket number is missing!');
}
+ $row = mysql_fetch_assoc($res);
+ $query = "select sum(`points`) as `points` from `notary` where `to`='".intval($row['id'])."' and `deleted` = 0";
+ $dres = mysql_query($query);
+ $drow = mysql_fetch_assoc($dres);
+ $alerts =get_alerts(intval($row['id']));
+
+//display account data
+
+
//Ticket number
?>