Changeset 2421


Ignore:
Timestamp:
Oct 29, 2011, 5:22:29 PM (9 years ago)
Author:
komodo
Message:

oups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/branches/senat/project/lib/model/doctrine/Intervention.class.php

    r2418 r2421  
    203203    $loisstring = $this->addTagLois($lois);
    204204    if ($date && preg_match("/^(\d{4}-\d\d-\d\d)/", $date, $annee)) {
    205       if (!preg_match("/^".$annee[1]."\d\d:\d\d$/")
     205      if (!preg_match("/^".$annee[1]."\d\d:\d\d$/", $date))
    206206        $date = $annee[1]."00:00";
    207207    } else print "WARNING : Intervention $this->id has incorrect date : $date";
Note: See TracChangeset for help on using the changeset viewer.