fix PHP Fatal error: Call to undefined function now()

This commit is contained in:
Ralf Becker 2016-04-26 09:30:07 +00:00
parent 4ef7afca9e
commit 4854078b7c

View File

@ -658,7 +658,7 @@ class timesheet_ui extends timesheet_bo
{ {
egw_json_response::get()->call( egw_json_response::get()->call(
'app.timesheet.update_timespan', 'app.timesheet.update_timespan',
egw_time::to($query['startdate'] ? $query['startdate'] : now() ,egw_time::ET2), egw_time::to($query['startdate'] ? $query['startdate'] : 'now' , egw_time::ET2),
$query['filter'] ? egw_time::to($query['enddate'], egw_time::ET2) : null $query['filter'] ? egw_time::to($query['enddate'], egw_time::ET2) : null
); );
} }