forked from science-ation/science-ation
Add firstname and lastname to the incomplete log for a better idea
This commit is contained in:
parent
ac30e13078
commit
0255fdbb88
@ -67,7 +67,7 @@ function studentIndividualStatus($userid) {
|
|||||||
else {
|
else {
|
||||||
if(!$r->$req) {
|
if(!$r->$req) {
|
||||||
$fp=fopen("data/logs/incomplete.log","a+");
|
$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;
|
// echo $str;
|
||||||
fputs($fp,$str);
|
fputs($fp,$str);
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
|
Loading…
Reference in New Issue
Block a user