diff --git a/scripts/warning.php b/scripts/warning.php index 42f49f5..90ae54a 100755 --- a/scripts/warning.php +++ b/scripts/warning.php @@ -78,7 +78,7 @@ echo $row['fname']." ".$row['lname']." <".$row['email']."> (memid: ".$row['memid $row['daysleft'] = ceil($row['daysleft']); $body = sprintf(_("Hi %s"), $row['fname']).",\n\n"; $body .= _("You are receieving this email as you are the listed contact for:")."\n\n"; - $body .= $row['CN']."\n\n"; + $body .= $row['subject']."\n\n"; $body .= sprintf(_("Your certificate is set to expire in approximately %s days time, you can renew this by going to the following URL:"), $row['daysleft'])."\n\n"; $body .= "https://www.cacert.org/account.php?id=12\n\n"; $body .= _("Best Regards")."\n"._("CAcert Support");