From 8ade7b39262e52fe54fc8c41ff60b31c552ed297 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 19 May 2015 20:58:30 +0000 Subject: [PATCH] Fix 'No project' column filter --- timesheet/inc/class.timesheet_bo.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timesheet/inc/class.timesheet_bo.inc.php b/timesheet/inc/class.timesheet_bo.inc.php index f70f3400a7..32ef2ff8d3 100644 --- a/timesheet/inc/class.timesheet_bo.inc.php +++ b/timesheet/inc/class.timesheet_bo.inc.php @@ -1042,7 +1042,7 @@ class timesheet_bo extends so_sql_cf $data =& $this->data; } // allways store ts_project to be able to search for it, even if no custom project is set - if (empty($data['ts_project'])) + if (empty($data['ts_project']) && !is_null($data['ts_project'])) { $data['ts_project'] = $data['pm_id'] ? egw_link::title('projectmanager', $data['pm_id']) : ''; }