mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-24 01:33:26 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user