[eGroupWare-svn] r55841 - /trunk/timesheet/inc/class.timesheet_ui.inc.php

[email protected]
Newsgroups gmane.comp.web.egroupware.cvs
Message-ID <[email protected]>
Author: ralfbecker
Date: Tue Apr 26 11:30:07 2016
New Revision: 55841

URL: http://svn.stylite.de/viewvc/egroupware?rev=55841&view=rev
Log:
fix PHP Fatal error:  Call to undefined function now()

Modified:
    trunk/timesheet/inc/class.timesheet_ui.inc.php

Modified: trunk/timesheet/inc/class.timesheet_ui.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/timesheet/inc/class.timesheet_ui.inc.php?rev=55841&r1=55840&r2=55841&view=diff
==============================================================================
--- trunk/timesheet/inc/class.timesheet_ui.inc.php (original)
+++ trunk/timesheet/inc/class.timesheet_ui.inc.php Tue Apr 26 11:30:07 2016
@@ -658,7 +658,7 @@
 		{
 			egw_json_response::get()->call(
 				'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
 			);
 		}


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.