Modification de la recherche pour Giant en FR

This commit is contained in:
Damien LASSERRE 2011-04-08 13:54:21 +00:00
parent d5902d0cfc
commit 776b2ef14c
2 changed files with 3 additions and 2 deletions

View File

@ -57,7 +57,7 @@ foreach (array('siret',
<?php
if (isset($formR['pays']) == false) {
$formR['pays'] = 'FR';
$formR['pays'] = '';
}
if (hasModeEdition()) {
$recherchePaysListe = array(
@ -68,6 +68,7 @@ if (hasModeEdition()) {
print '<div class="fieldgrp">';
print '<label>Pays</label>';
print '<select name="formR[pays]">';
print '<option value=""></option>';
foreach ($recherchePaysListe as $index => $valeur) {
print '<option value="'.$index.'"';
if ($formR['pays'] == $index) {

View File

@ -186,7 +186,7 @@ if (isset($_REQUEST['p'])) {
// --------------------------------------------------------------------------- //
// Giant
// --------------------------------------------------------------------------- //
if ($typeRech == 'ent' && isset($formR['pays']) && $formR['pays'] != 'FR') {
if ($typeRech == 'ent' && !empty($formR['pays'])) {
include_once('giant/Search.php');
exit;
}