Admin user: Show force active status in log
This commit is contained in:
parent
088d351b2b
commit
69b3a2440c
|
@ -262,7 +262,7 @@ function admin_user()
|
||||||
$user_source->email = $request->postData('eemail');
|
$user_source->email = $request->postData('eemail');
|
||||||
}
|
}
|
||||||
$nickValidation = User_validate_Nick($request->postData('eNick'));
|
$nickValidation = User_validate_Nick($request->postData('eNick'));
|
||||||
if($nickValidation->isValid()) {
|
if ($nickValidation->isValid()) {
|
||||||
$user_source->name = $nickValidation->getValue();
|
$user_source->name = $nickValidation->getValue();
|
||||||
}
|
}
|
||||||
$user_source->save();
|
$user_source->save();
|
||||||
|
@ -279,9 +279,11 @@ function admin_user()
|
||||||
$user_source->state->save();
|
$user_source->state->save();
|
||||||
|
|
||||||
engelsystem_log(
|
engelsystem_log(
|
||||||
'Updated user: ' . $request->postData('eNick') . ', ' . $request->postData('eSize')
|
'Updated user: ' . $user_source->name . ' (' . $user_source->id . ')'
|
||||||
. ', active: ' . $request->postData('eAktiv')
|
. ', t-shirt: ' . $user_source->personalData->shirt_size
|
||||||
. ', tshirt: ' . $request->postData('eTshirt')
|
. ', active: ' . $user_source->state->active
|
||||||
|
. ', force-active: ' . $user_source->state->force_active
|
||||||
|
. ', tshirt: ' . $user_source->state->got_shirt
|
||||||
);
|
);
|
||||||
$html .= success('Änderung wurde gespeichert...' . "\n", true);
|
$html .= success('Änderung wurde gespeichert...' . "\n", true);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue