Fix: Do not show busy if event not assigned to a user.

This commit is contained in:
Laurent Destailleur 2013-05-14 02:46:00 +02:00
parent 95fac9aace
commit f9e0d03b0c

View File

@ -932,7 +932,7 @@ if ($id > 0)
// Busy
print '<tr><td class="nowrap">'.$langs->trans("Busy").'</td><td colspan="3">';
print yn(($act->transparency > 0)?1:0);
if ($act->usertodo->id > 0) print yn(($act->transparency > 0)?1:0); // We show nothing if event is assigned to nobody
print '</td></tr>';
// Done by