[Tickets #14803] Re: Horde_Rdo_Mapper sets created_at, forgets updated_at

noreply at bugs.horde.org noreply at bugs.horde.org
Fri Apr 13 09:59:27 UTC 2018


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: https://bugs.horde.org/ticket/14803
------------------------------------------------------------------------------
  Ticket           | 14803
  Aktualisiert Von | birnbacs at gmail.com
  Zusammenfassung  | Horde_Rdo_Mapper sets created_at, forgets updated_at
  Warteschlange    | Horde Framework Packages
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 1. Low
  Milestone        |
  Patch            |
  Zuständige       |
+Neuer Anhang     | Mapper.php
------------------------------------------------------------------------------


birnbacs at gmail.com (2018-04-13 09:59) hat geschrieben:

I was able to fix the described misbehaviour.
Please note the change around line 408 of enclosed Mapper.php:

[...]
         // If configured to record update time, set it here.
         if ($this->_setTimestamps) {
             //$fields['updated_at'] = time();
             $fields['updated_at'] = new Horde_Date(time());
         }
[...]




birnbacs at gmail.com (2018-04-13 09:59) hat hochgeladen: Mapper.php

https://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=Mapper.php&ticket=14803&fn=%2FMapper.php





More information about the bugs mailing list