mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Fix error Unsupported operand types: int + stringPHP
This commit is contained in:
parent
85de53b2eb
commit
d2cd36656a
@ -418,13 +418,8 @@ class calendar_category_report extends calendar_ui{
|
||||
|
||||
foreach ($raw_csv as &$row)
|
||||
{
|
||||
$check_row = 0;
|
||||
foreach ($row as $val)
|
||||
{
|
||||
$check_row += $val;
|
||||
}
|
||||
//check if all values of the row is zero then escape the row
|
||||
if (!$check_row) continue;
|
||||
if (!array_sum($row)) continue;
|
||||
|
||||
// printout each row into file
|
||||
fputcsv($fp, array_values($row));
|
||||
|
Loading…
Reference in New Issue
Block a user