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