Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 1291 → Rev 1292

/trunk/client/bottin/bibliotheque/edition_fiche.php
16,7 → 16,7
// | Auteur : Alexandre Granier <alexandre@tela-botanica.org> |
// +--------------------------------------------------------------------------------+
//
// $Id: edition_fiche.php,v 1.3 2006-09-15 12:33:36 alexandre_tb Exp $
// $Id: edition_fiche.php,v 1.4 2007-04-06 08:35:46 neiluj Exp $
 
 
define ("URL_RECU", $GLOBALS['ins_url']->protocol. '://'.$GLOBALS['ins_url']->host."/client/annuaire/voir_recu_pdf.php") ;
149,7 → 149,8
$_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) ;
$GLOBALS['ins_db']->query($query) ;echo $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])) {