mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
fix PHP Fatal error: Call to undefined function now()
This commit is contained in:
parent
4ef7afca9e
commit
4854078b7c
@ -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
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user