From a0d64614839641e853968e5cb08dfe72230b6fb0 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 19 Apr 2011 09:56:17 +0000 Subject: [PATCH] fixed bug in timesheet, success/error message of set category or status was not shown --- timesheet/inc/class.timesheet_ui.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/timesheet/inc/class.timesheet_ui.inc.php b/timesheet/inc/class.timesheet_ui.inc.php index 09019ac72f..3d60ffe41b 100644 --- a/timesheet/inc/class.timesheet_ui.inc.php +++ b/timesheet/inc/class.timesheet_ui.inc.php @@ -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); }