Changeset 2477


Ignore:
Timestamp:
Nov 7, 2011, 6:03:36 PM (9 years ago)
Author:
roux
Message:

fix senateurs sans groupes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/lib/model/doctrine/Organisme.class.php

    r2096 r2477  
    2626    $hashmap = array();
    2727    foreach (myTools::getGroupesInfos() as $gpe)
    28       $hashmap[$gpe[0]] = $gpe[1];
    29     if (isset($hashmap[$this->getNom()]))
    30       return $hashmap[$this->getNom()];
     28      $hashmap[strtolower($gpe[0])] = $gpe[1];
     29    if (isset($hashmap[strtolower($this->getNom())]))
     30      return $hashmap[strtolower($this->getNom())];
    3131    return "";
    3232  }
Note: See TracChangeset for help on using the changeset viewer.