summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorArnout Engelen <arnouten@bzzt.net>2017-04-30 13:02:38 +0200
committerArnout Engelen <arnouten@bzzt.net>2017-04-30 13:02:38 +0200
commitb688b928dbabf6ba3ced4021e7e9808de7777e25 (patch)
treee36d1cc98a43a41f682bbc50f4796e9ddeb67ec9 /includes
parent3d8dea37331eb4031958fadf0cc8cd623402fdce (diff)
Read wants_to_drive field correctly
Diffstat (limited to 'includes')
-rw-r--r--includes/view/AngelTypes_view.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/view/AngelTypes_view.php b/includes/view/AngelTypes_view.php
index 7b20b7dd..592f8d6b 100644
--- a/includes/view/AngelTypes_view.php
+++ b/includes/view/AngelTypes_view.php
@@ -124,9 +124,9 @@ function AngelType_view_members($angeltype, $members, $admin_user_angeltypes, $a
$members_unconfirmed = [];
foreach ($members as $member) {
$member['Nick'] = User_Nick_render($member);
-
+
if ($angeltype['requires_driver_license']) {
- $member['wants_to_drive'] = glyph_bool($member['user_id']);
+ $member['wants_to_drive'] = glyph_bool($member['wants_to_drive']);
$member['has_car'] = glyph_bool($member['has_car']);
$member['has_license_car'] = glyph_bool($member['has_license_car']);
$member['has_license_3_5t_transporter'] = glyph_bool($member['has_license_3_5t_transporter']);