diff --git a/api/src/Etemplate/Widget/Date.php b/api/src/Etemplate/Widget/Date.php index 709507be93..6a7f85df77 100644 --- a/api/src/Etemplate/Widget/Date.php +++ b/api/src/Etemplate/Widget/Date.php @@ -133,8 +133,11 @@ class Date extends Transformer } catch (\Exception $e) { // do NOT stall for somehow invalid values: log it and return empty - $e->details = $this->id.': '.json_encode($value); - _egw_log_exception($e); + if($value) + { + //error_log(__METHOD__."()".$this->id . ': ' . json_encode($value)); + _egw_log_exception($e); + } return null; } } @@ -295,4 +298,4 @@ class Date extends Transformer \EGroupware\Api\Etemplate\Widget::registerWidget(__NAMESPACE__ . '\\Date', array('et2-date', 'et2-date-time', 'time_or_date') -); \ No newline at end of file +);