Dotclear

Changeset 928:1bb2aef1cb93


Ignore:
Timestamp:
10/28/12 16:17:56 (13 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Put dcTemplate::getAge() function to static, fixes #1050

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/public/class.dc.template.php

    r927 r928  
    488488     } 
    489489      
    490      public function getAge($attr) 
     490     public static function getAge($attr) 
    491491     { 
    492492          if (isset($attr['age']) && preg_match('/^(\-[0-9]+|last).*$/i',$attr['age'])) { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map