diff options
author | Benny Baumann <BenBE@geshi.org> | 2015-06-02 22:02:13 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2015-06-02 22:02:13 +0200 |
commit | 1881b5db7cb46fb437b1696c4821332c2eb911a8 (patch) | |
tree | f3c759caa7d78171281a3f844dcd8e01f69cb0eb /pages/account | |
parent | f90f3ab79de4725b2143ea614312e4f7d636f53a (diff) | |
parent | 077e11d3463696add95127dcfd518e95d19187b4 (diff) | |
download | cacert-devel-1881b5db7cb46fb437b1696c4821332c2eb911a8.tar.gz cacert-devel-1881b5db7cb46fb437b1696c4821332c2eb911a8.tar.xz cacert-devel-1881b5db7cb46fb437b1696c4821332c2eb911a8.zip |
Merge branch 'bug-1042' into testserver-stable
Diffstat (limited to 'pages/account')
-rw-r--r-- | pages/account/43.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pages/account/43.php b/pages/account/43.php index d238475..a8af12d 100644 --- a/pages/account/43.php +++ b/pages/account/43.php @@ -112,8 +112,8 @@ if(intval(array_key_exists('userid',$_REQUEST)?$_REQUEST['userid']:0) <= 0) // display user information for given user id if(intval($_REQUEST['userid']) > 0) { $userid = intval($_REQUEST['userid']); - $res =get_user_data($userid); - if(mysql_num_rows($res) <= 0) { + $user_data_res =get_user_data($userid); + if(mysql_num_rows($user_data_res) <= 0) { echo _("I'm sorry, the user you were looking for seems to have disappeared! Bad things are afoot!"); } else { @@ -137,7 +137,7 @@ if(intval($_REQUEST['userid']) > 0) { $ticketmsg=_('No assurance revoked. Ticket number is missing!'); } - $row = mysql_fetch_assoc($res); + $row = mysql_fetch_assoc($user_data_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); |