16,7 → 16,7 |
// | Auteur : Alexandre Granier <alexandre@tela-botanica.org> | |
// +--------------------------------------------------------------------------------+ |
// |
// $Id: edition_fiche.php,v 1.2 2006-01-02 09:50:36 alexandre_tb Exp $ |
// $Id: edition_fiche.php,v 1.3 2006-09-15 12:33:36 alexandre_tb Exp $ |
|
|
define ("URL_RECU", $GLOBALS['ins_url']->protocol. '://'.$GLOBALS['ins_url']->host."/client/annuaire/voir_recu_pdf.php") ; |
149,8 → 149,7 |
$_REQUEST[$field_] = $_REQUEST[INS_TABLE_PAYS] ; |
} |
$query = 'update '.INS_ANNUAIRE.' set '.$field_.'="'.$_REQUEST[$field_].'" where '.INS_CHAMPS_ID.'='.$_REQUEST[INS_CHAMPS_ID] ; |
$GLOBALS['ins_db']->query($query) ;echo $query; |
|
$GLOBALS['ins_db']->query($query) ; |
// Traitement du département |
if ($field_ == INS_CHAMPS_CODE_POSTAL) { |
if (preg_match("/^97|98[0-9]*/", $HTTP_POST_VARS[INS_CHAMPS_CODE_POSTAL])) { |