Ignore:
Timestamp:
Feb 14, 2010, 5:45:07 PM (11 years ago)
Author:
goya
Message:

woupsie bis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/modules/loi/templates/_alinea.php

    r1085 r1106  
    2929  if ($ct > 1) $string .= 's';
    3030  $string .= ' sur cet alinéa : ';
    31   foreach ($amendements as $adt) $string .= link_to('n° '.$adt, '@find_amendements_by_loi_and_numero?loi='.$loi.'&numero='.preg_replace('/^(.*)\s+\(adopté\)$/', '\1', $adt)).' ';
     31  foreach ($amendements as $adt) $string .= link_to('n° '.$adt, '@find_amendements_by_loi_and_numero?loi='.$loi.'&numero='.preg_replace('/^(\d+)\s+.*$/', '\1', $adt)).' ';
    3232  $string .= '</small></p>';
    3333  $s = preg_replace('/<\/p>$/', $string.'</p>', $s);
Note: See TracChangeset for help on using the changeset viewer.