Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 1694 → Rev 1695

/trunk/jrest/lib/FormateurGroupeColonne.php
399,6 → 399,8
$cache_id = $referentiel . '-' . $obs['nt'] . '-' . $langue;
 
if(isset(self::$cache['getNomCommun'][$cache_id])) return self::$cache['getNomCommun'][$cache_id];
// XXX: problème de valeurs NULL ?
if(array_key_exists($cache_id, self::$cache['getNomCommun'])) return self::$cache['getNomCommun'][$cache_id];
 
// pas de cache:
$nom = $cel->executerRequete(sprintf("SELECT nom_commun FROM cel_references " .