From 8afd06d9a18007efe3f9511ce6275f3947379cb7 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 26 Feb 2019 20:29:40 +0100 Subject: [PATCH] * Timesheet: fix SQL error searching, if there are custom-fields --- timesheet/inc/class.timesheet_bo.inc.php | 1 - 1 file changed, 1 deletion(-) diff --git a/timesheet/inc/class.timesheet_bo.inc.php b/timesheet/inc/class.timesheet_bo.inc.php index d368cd4afb..9e6e1eb38a 100644 --- a/timesheet/inc/class.timesheet_bo.inc.php +++ b/timesheet/inc/class.timesheet_bo.inc.php @@ -167,7 +167,6 @@ class timesheet_bo extends Api\Storage { parent::__construct(TIMESHEET_APP,'egw_timesheet',self::EXTRA_TABLE,'','ts_extra_name','ts_extra_value','ts_id'); - if ($this->customfields) $this->columns_to_search[] = self::EXTRA_TABLE.'.ts_extra_value'; $this->config_data = Api\Config::read(TIMESHEET_APP); $this->quantity_sum = $this->config_data['quantity_sum'] == 'true';