fix user shift joined nicknames

This commit is contained in:
Philip Häusler 2012-12-23 14:50:03 +01:00
parent 2d5449f213
commit fd199ea3a0
1 changed files with 1 additions and 1 deletions

View File

@ -420,7 +420,7 @@ function view_user_shifts() {
if (in_array('user_shifts_admin', $privileges))
$entry_list[] = "<span style=\"$style\">" . '<a href="' . page_link_to('user_myshifts') . '&id=' . $entry['UID'] . '">' . $entry['Nick'] . '</a> <a href="' . page_link_to('user_shifts') . '&entry_id=' . $entry['id'] . '">[x]</a></span>';
else
$entry_list[] = "<span style=\"$style\">" . $entry['Nick']."</span";
$entry_list[] = "<span style=\"$style\">" . $entry['Nick']."</span>";
}
if ($angeltype['count'] - count($entries) > 0) {
if ((time() < $shift['end'] && !$my_shift) || in_array('user_shifts_admin', $privileges)) {