Changeset 1694
- Timestamp:
- Oct 6, 2010, 12:11:15 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpc/trunk/project/lib/model/doctrine/Intervention.class.php
r1693 r1694 58 58 if (!preg_match('/ministre|secr[^t]+taire [^t]+tat|commissaire|garde des sceaux/i', $fonction)) { 59 59 $personne = Doctrine::getTable('Parlementaire')->findOneByNom($nom); 60 if (!$personne && ($this->type != "commission" || $fonction == null || preg_match('/(rapporteur|président )/i', $fonction))) {60 if (!$personne && ($this->type != "commission" || $fonction == null || preg_match('/(rapporteur|présidente?$)/i', $fonction))) { 61 61 $personne = Doctrine::getTable('Parlementaire')->similarTo($nom); 62 62 }
Note: See TracChangeset
for help on using the changeset viewer.