Subversion Repositories eFlore/Projets.eflore-projets

Compare Revisions

Ignore whitespace Rev 766 → Rev 767

/trunk/services/modules/0.1/cel/Images.php
233,7 → 233,7
'ON (coi.id_observation = co.id_observation) '.
'WHERE ci.transmission = 1 '.
" AND ci.nom_ret_nn IN ($numNom)";
" AND co.nom_referentiel = ".$this->Bdd->proteger($refTax);
" AND co.nom_referentiel = ".$this->Bdd->proteger($refTax) . ' -- ' . __FILE__ . ':' . __LINE__;
 
$resultat = $this->Bdd->recupererTous($requete);
 
260,7 → 260,7
" AND co.nom_ret_nn IN ($numNom) ".
' AND ci.date_prise_de_vue != "0000-00-00" ORDER BY ci.date_prise_de_vue ASC '.
' AND co.nom_referentiel LIKE '.$this->proteger($refTax.'%').' '.
'LIMIT 1';
'LIMIT 1' . ' -- ' . __FILE__ . ':' . __LINE__;
 
$resultat = $this->Bdd->recupererTous($requete);
 
287,7 → 287,7
' LEFT JOIN cel_obs AS co '.
' ON (coi.id_observation = co.id_observation) '.
'WHERE ci.id_image = '.$this->ressources[0].
' AND co.id_observation IS NOT NULL';
' AND co.id_observation IS NOT NULL' . ' -- ' . __FILE__ . ':' . __LINE__;
 
$this->infosImages = $this->Bdd->recupererTous($requete);
}
313,7 → 313,7
$this->formerRequeteConditions($numNomListe).' '.
'GROUP BY id_img '.
$this->formerRequeteTri().
"LIMIT $depart,$limite ";
"LIMIT $depart,$limite " . ' -- ' . __FILE__ . ':' . __LINE__;
 
$this->infosImages = $this->Bdd->recupererTous($requete);
}