summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/pages/admin_user.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/includes/pages/admin_user.php b/includes/pages/admin_user.php
index a1ef5b88..c71d5386 100644
--- a/includes/pages/admin_user.php
+++ b/includes/pages/admin_user.php
@@ -262,7 +262,7 @@ function admin_user()
$user_source->email = $request->postData('eemail');
}
$nickValidation = User_validate_Nick($request->postData('eNick'));
- if($nickValidation->isValid()) {
+ if ($nickValidation->isValid()) {
$user_source->name = $nickValidation->getValue();
}
$user_source->save();
@@ -279,9 +279,11 @@ function admin_user()
$user_source->state->save();
engelsystem_log(
- 'Updated user: ' . $request->postData('eNick') . ', ' . $request->postData('eSize')
- . ', active: ' . $request->postData('eAktiv')
- . ', tshirt: ' . $request->postData('eTshirt')
+ 'Updated user: ' . $user_source->name . ' (' . $user_source->id . ')'
+ . ', t-shirt: ' . $user_source->personalData->shirt_size
+ . ', 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);
break;