Ignore:
Timestamp:
Feb 13, 2010, 12:31:34 PM (11 years ago)
Author:
goya
Message:

bad link article premier in amdmts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/modules/amendement/templates/showSuccess.php

    r1088 r1104  
    4141    if ($loi && preg_match('/^(.*)?(article\s*)((\d+|premier).*)$/i', $sujet, $match)) {
    4242      $art = preg_replace('/premier/i', '1er', $match[3]);
    43       $art = preg_replace('/\s+/', '-', $match[3]);
     43      $art = preg_replace('/\s+/', '-', $art);
    4444      $sujet = $match[1].link_to($match[2].$match[3], '@loi_article?loi='.$loi->texteloi_id.'&article='.$art);
    4545    }
Note: See TracChangeset for help on using the changeset viewer.