mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix: Correction mauvaise utilisation de la methode fectch_object avec en paramtre un indice au lieu d'un resultset.
This commit is contained in:
parent
01c84cbb2e
commit
c315308dfd
|
|
@ -207,7 +207,7 @@ if (sizeof($factures_prev) > 0)
|
|||
|
||||
if ($db->query($sql))
|
||||
{
|
||||
$prev_id = $db->last_insert_id();
|
||||
$prev_id = $db->last_insert_id(MAIN_DB_PREFIX."prelevement_bons");
|
||||
|
||||
$bonprev = new BonPrelevement($db, DOL_DATA_ROOT."/prelevement/bon/".$filebonprev);
|
||||
$bonprev->id = $prev_id;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user