2
0
forked from Wavyzz/dolibarr

Fix: Pour rendre la fonction last_insert_id compatible enre mysql et pgsql, on rend le paramtre obligatoire.

This commit is contained in:
Laurent Destailleur
2005-03-18 23:56:41 +00:00
parent 1aa43a8dbc
commit 01c84cbb2e
52 changed files with 78 additions and 105 deletions

View File

@@ -224,7 +224,7 @@ class Commande
if ( $this->db->query($sql) )
{
$this->id = $this->db->last_insert_id();
$this->id = $this->db->last_insert_id(MAIN_DB_PREFIX."commande");
/*
* Insertion des produits dans la base