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

@ -781,11 +781,11 @@ class timesheet_ui extends timesheet_bo
else
{
if ($this->action($content['action'],$content['nm']['rows']['checked'],$content['use_all'],
$success,$failed,$action_msg,'index',$msg))
$success,$failed,$action_msg,'index',$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);
}