fixed bug in timesheet, success/error message of set category or status was not shown

This commit is contained in:
Ralf Becker 2011-04-19 09:56:17 +00:00
parent 05d36ce15b
commit a0d6461483

View File

@ -785,7 +785,7 @@ class timesheet_ui extends timesheet_bo
{ {
$msg .= lang('%1 timesheets(s) %2',$success,$action_msg); $msg .= lang('%1 timesheets(s) %2',$success,$action_msg);
} }
elseif(is_null($msg)) elseif(empty($msg))
{ {
$msg .= lang('%1 timesheets(s) %2, %3 failed because of insufficent rights !!!',$success,$action_msg,$failed); $msg .= lang('%1 timesheets(s) %2, %3 failed because of insufficent rights !!!',$success,$action_msg,$failed);
} }