Fix #3471: Display of Date Time Column in excel with empty/false value

This commit is contained in:
Lucas Bartholemy 2019-06-17 18:28:13 +02:00
parent f276669a72
commit 9f74562a37
2 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,7 @@ class DateTimeColumn extends DataColumn
*/
public function renderDataCellContent($model, $key, $index)
{
return Date::PHPToExcel(parent::renderDataCellContent($model, $key, $index));
$value = Date::PHPToExcel(parent::renderDataCellContent($model, $key, $index));
return $value === false ? null : $value;
}
}

View File

@ -11,6 +11,7 @@ HumHub Change Log
- Fix: Directory stats progress color (@Felli)
- Fix #2724: Edited post does not display the space on dashboard
- Fix #3533: Responsive design issues
- Fix #3471: Display of Date Time Column in excel with empty/false value
1.3.13 (May 3, 2019)