From f9e0d03b0c1a12c5c6651f42543b3d9a16281ce0 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 14 May 2013 02:46:00 +0200 Subject: [PATCH] Fix: Do not show busy if event not assigned to a user. --- htdocs/comm/action/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index f230ba1a95b..8b93bf23590 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -932,7 +932,7 @@ if ($id > 0) // Busy print ''.$langs->trans("Busy").''; - 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 ''; // Done by