diff options
| author | Moritz Strohm <strohm@data-quest.de> | 2022-09-28 14:24:20 +0000 |
|---|---|---|
| committer | Moritz Strohm <strohm@data-quest.de> | 2022-09-28 14:24:20 +0000 |
| commit | e75c08bedd60a6674d22ce3e2ec57b5a5f1d85eb (patch) | |
| tree | 2d9cf000153360bdc9e1841693406f3a3b1d58ae /app/views/admin/user/_results.php | |
| parent | 1e6f3d59c1989dc0da68d3200090cb4768ab3094 (diff) | |
fix for BIESt #1118
Merge request studip/studip!676
Diffstat (limited to 'app/views/admin/user/_results.php')
| -rw-r--r-- | app/views/admin/user/_results.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/user/_results.php b/app/views/admin/user/_results.php index 1406c2a..695e30e 100644 --- a/app/views/admin/user/_results.php +++ b/app/views/admin/user/_results.php @@ -96,7 +96,7 @@ <td><?= htmlReady($user->nachname) ?></td> <td><?= htmlReady($user->email) ?></td> <td> - <? if ($user->online->last_lifesign) : + <? if (!empty($user->online->last_lifesign)) : $inactive = time() - $user->online->last_lifesign; if ($inactive < 3600 * 24) { $inactive = gmdate('H:i:s', $inactive); @@ -188,7 +188,7 @@ } - if (Privacy::isVisible($user_id)) { + if (Privacy::isVisible($user->id)) { $actionMenu->addLink( $controller->url_for("privacy/landing/{$user->id}"), _('Anzeige Personendaten'), |
