Changeset 70472 in spip-zone


Ignore:
Timestamp:
Mar 6, 2013, 1:45:06 PM (6 years ago)
Author:
chrisulm05@…
Message:

coquille sur l'ordre des variables sur le mktime, merci Natacha

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/orr/branches/v1/formulaires/reserv.php

    r69045 r70472  
    5050    list($heured,$minuted,$seconded) = explode(':',$tempsd);
    5151    list($heuref,$minutef,$secondef) = explode(':',$tempsf);
    52     $timestampd = mktime($heured,$minuted,$seconded,$jourd,$moisd,$anneed);
    53     $timestampf = mktime($heuref,$minutef,$secondef,$jourf,$moisf,$anneef);
     52    $timestampd = mktime($heured,$minuted,$seconded,$moisd,$jourd,$anneed);
     53    $timestampf = mktime($heuref,$minutef,$secondef,$moisf,$jourf,$anneef);
    5454    if ($timestampd>=$timestampf){
    5555        $erreurs['date_fin'] = "date de fin antérieur  ou égale à la date de début";
Note: See TracChangeset for help on using the changeset viewer.