r56106 - /branches/14.2/addressbook/inc/class.addressbook_bo.inc.php

classic Classic list List threaded Threaded
1 message Options
ralfbecker_sf ralfbecker_sf
Reply | Threaded
Open this post in threaded view
|

r56106 - /branches/14.2/addressbook/inc/class.addressbook_bo.inc.php

Author: ralfbecker
Date: Tue May 10 12:30:58 2016
New Revision: 56106

URL: http://svn.stylite.de/viewvc/egroupware?rev=56106&view=rev
Log:
fix PHP Fatal Call to undefined method DateTime::to() , caused by backport from Trunk

Modified:
    branches/14.2/addressbook/inc/class.addressbook_bo.inc.php

Modified: branches/14.2/addressbook/inc/class.addressbook_bo.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/branches/14.2/addressbook/inc/class.addressbook_bo.inc.php?rev=56106&r1=56105&r2=56106&view=diff
==============================================================================
--- branches/14.2/addressbook/inc/class.addressbook_bo.inc.php (original)
+++ branches/14.2/addressbook/inc/class.addressbook_bo.inc.php Tue May 10 12:30:58 2016
@@ -441,7 +441,7 @@
  'org_name' => $contact['org_name'],
  'org_unit' => $contact['org_unit'],
  'adr_one_locality' => $contact['adr_one_locality'],
- 'bday'     => (int)$contact['bday'] ? DateTime::to($contact['bday'], true) : $contact['bday'],
+ 'bday'     => (int)$contact['bday'] ? egw_time::to($contact['bday'], true) : $contact['bday'],
  )));
 
  while ($fileas[0] == ':' ||  $fileas[0] == ',')


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
eGroupWare-cvs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs