Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 1394 → Rev 1395

/trunk/services/modules/0.1/observations/ListeObservations2.php
320,7 → 320,7
$req['where'][] = sprintf('dob.nom_sel_nn = %1$d OR dob.nom_ret_nn = %1$d', $p['masque.nn']);
}
if(!empty($p['masque.referentiel'])) {
$req['where'][] = sprintf('dob.nom_referentiel = %s', $db->proteger($p['masque.referentiel']));
$req['where'][] = sprintf('dob.nom_referentiel LIKE %s', $db->proteger($p['masque.referentiel'].'%'));
}
if(!empty($p['masque.commune'])) {
$req['where'][] = 'dob.zone_geo LIKE '.$db->proteger($p['masque.commune'].'%');