19,7 → 19,7 |
// | License along with this library; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: bazar.fonct.php,v 1.57.2.2 2007-01-22 16:05:39 alexandre_tb Exp $ |
// CVS : $Id: bazar.fonct.php,v 1.57.2.3 2007-02-01 16:11:05 alexandre_tb Exp $ |
/** |
* |
* Fonctions du module bazar |
31,7 → 31,7 |
*@author Florian Schmitt <florian@ecole-et-nature.org> |
//Autres auteurs : |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.57.2.2 $ $Date: 2007-01-22 16:05:39 $ |
*@version $Revision: 1.57.2.3 $ $Date: 2007-02-01 16:11:05 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
767,7 → 767,7 |
$requete = 'INSERT INTO bazar_fiche SET bf_id_fiche='.$GLOBALS['_BAZAR_']['id_fiche'].','. |
'bf_ce_utilisateur='.$GLOBALS['id_user'].', bf_ce_nature='.$GLOBALS['_BAZAR_']['id_typeannonce'].','. |
'bf_date_creation_fiche=NOW(),'; |
if ($GLOBALS['_BAZAR_']['appropriation']== 1) { |
if ($GLOBALS['_BAZAR_']['appropriation']== 1 && !isset($_GET['bf_debut_validite_fiche'])) { |
$requete .= 'bf_date_debut_validite_fiche=now(), ' ; |
} else { |
if (!isset($_GET['bf_date_debut_validite_fiche'])) { |
1259,6 → 1259,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.57.2.2 2007/01/22 16:05:39 alexandre_tb |
* insertion de la date du jour dans bf_date_debut_validite_fiche quand il n'y a pas ce champs dans le formulaire (évite le 0000-00-00) |
* |
* Revision 1.57.2.1 2006/12/13 13:23:03 alexandre_tb |
* Remplacement de l appel d une constante par un appel direct. -> warning |
* |