Subversion Repositories eFlore/Applications.cel

Compare Revisions

Regard whitespace Rev 2307 → Rev 2308

/trunk/jrest/lib/FormateurGroupeColonne.php
713,13 → 713,9
static function baseflor_ligne($obs, &$ligne) {
// Attention la fonction suppose que l'on ait fait appel à baseflor_preload avant
// d'être appelée
if(! $obs['nom_ret_nn']) {
$ligne = array_merge($ligne, array_fill("", count(self::$baseflor_col), NULL));
return;
}
 
if(! self::referenceTableExiste()) {
$ligne = array_merge($ligne, array_fill("", count(self::$baseflor_col), NULL));
if(!$obs['nom_ret_nn'] || !self::referenceTableExiste()) {
$ligne = array_merge($ligne, array_fill_keys(self::$baseflor_col, ""));
return;
}
 
732,7 → 728,7
$ligne = array_merge($ligne, self::$cache['getBaseflor'][$cache_id]);
return;
} else {
$ligne = array_merge($ligne, array_fill("", count(self::$baseflor_col), NULL));
$ligne = array_merge($ligne, array_fill_keys(self::$baseflor_col, ""));
return;
}
}