summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2014-04-15 00:52:07 +0200
committerMichael Tänzer <neo@nhng.de>2014-04-15 00:52:07 +0200
commitb0964eb61c823edfb000e7d4a4d57b1d22d4f67f (patch)
tree7342e973f2782e6b0d4012f92b7c06ba0bda9b66
parentcff982918cd654ab9028ecc10b1ea3b2592ad9be (diff)
downloadcacert-devel-b0964eb61c823edfb000e7d4a4d57b1d22d4f67f.tar.gz
cacert-devel-b0964eb61c823edfb000e7d4a4d57b1d22d4f67f.tar.xz
cacert-devel-b0964eb61c823edfb000e7d4a4d57b1d22d4f67f.zip
bug 1221: properly name the other part of the assurance
Signed-off-by: Michael Tänzer <neo@nhng.de>
-rw-r--r--includes/notary.inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/notary.inc.php b/includes/notary.inc.php
index 1a9c2ce..f155d25 100644
--- a/includes/notary.inc.php
+++ b/includes/notary.inc.php
@@ -388,10 +388,10 @@
$res = get_given_assurances(intval($userid));
while($row = mysql_fetch_assoc($res))
{
- $fromuser = get_user (intval($row['to']));
+ $assuree = get_user (intval($row['to']));
$apoints = calc_experience ($row,$points,$experience,$sum_experience,$revoked);
- $name = show_user_link ($fromuser['fname']." ".$fromuser['lname'],intval($row['to']));
- $email = show_email_link ($fromuser['email'],intval($row['to']));
+ $name = show_user_link ($assuree['fname']." ".$assuree['lname'],intval($row['to']));
+ $email = show_email_link ($assuree['email'],intval($row['to']));
output_assurances_row (intval($row['id']),$row['date'],$row['when'],$email,$name,$apoints,intval($row['points']),$row['location'],$row['method']==""?"":_(sprintf("%s", $row['method'])),$experience,$userid,$support,$revoked);
}
}