Changeset 112487 in spip-zone


Ignore:
Timestamp:
Nov 20, 2018, 6:48:03 PM (4 weeks ago)
Author:
root
Message:

j'ai du rêver

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/cachelab/trunk/inc/cachelab_invalideur.php

    r112486 r112487  
    167167                return _DUREE_CACHE_DEFAUT;
    168168
    169         $interval = $dt_creation->diff('NOW',true); // valeur absolue
     169        $interval = $dt_creation->diff(new DateTime('NOW'),true); // valeur absolue
    170170        if (!$interval)
    171171                return _DUREE_CACHE_DEFAUT;
Note: See TracChangeset for help on using the changeset viewer.