Ignore:
Timestamp:
Mar 22, 2012, 7:45:30 AM (9 years ago)
Author:
crichard@…
Message:

Corrige le problème sur les dates des posts dans le forum phpbb

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/comments_phpbb/comments_phpbb_fonctions.php

    r32294 r59625  
    88        list($year, $month, $day) = explode('-', $date);
    99        list($hour, $minute, $second) = explode(':', $time);
    10        
    11         $timestamp = mktime($hour, $minute, $second, $month, $day, $year);
    12        
     10
     11        $timestamp = mktime((int)$hour, (int)$minute, (int)$second, (int)$month, (int)$day, (int)$year);
     12
    1313        return $timestamp;
    1414}
Note: See TracChangeset for help on using the changeset viewer.