Changeset 2447


Ignore:
Timestamp:
Nov 2, 2011, 5:34:11 AM (9 years ago)
Author:
komodo
Message:

plus de cas

File:
1 edited

Legend:

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

    r2443 r2447  
    317317                $match[$i] = preg_replace('/[, ]+et[, ]+/', ', ', $match[$i]);
    318318                $matche = explode(';', $match[$i]);
    319                 if (count($matche) == 1 && preg_match('\d\d\d\d', $match[$i]))
     319                if (count($matche) == 1 && preg_match('/\d\d\d(\d|\D+\d\d\d)/', $match[$i]))
    320320                        $matche = explode(',', $matche[0]);
    321321                $loie = $matche;
Note: See TracChangeset for help on using the changeset viewer.