Add firstname and lastname to the incomplete log for a better idea

This commit is contained in:
james 2011-03-04 04:45:21 +00:00
parent ac30e13078
commit 0255fdbb88

View File

@ -67,7 +67,7 @@ function studentIndividualStatus($userid) {
else {
if(!$r->$req) {
$fp=fopen("data/logs/incomplete.log","a+");
$str="user id $userid incomplete on required field: $req, user[$req]='{$r->$req}'\n";
$str="user id $userid ($r->firstname $r->lastname) incomplete on required field: $req, user[$req]='{$r->$req}'\n";
// echo $str;
fputs($fp,$str);
fclose($fp);