fixed SQL error when trying to generate an order without selecting any product line
This commit is contained in:
parent
52cfecd0af
commit
bcbe940ac0
@ -123,9 +123,9 @@ if($action == 'order'){
|
|||||||
dol_print_error($db);
|
dol_print_error($db);
|
||||||
dol_syslog("replenish.php: ".$error, LOG_ERROR);
|
dol_syslog("replenish.php: ".$error, LOG_ERROR);
|
||||||
}
|
}
|
||||||
|
$db->free($resql);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$db->free($resql);
|
|
||||||
//we now know how many orders we need and what lines they have
|
//we now know how many orders we need and what lines they have
|
||||||
$i = 0;
|
$i = 0;
|
||||||
$orders = array();
|
$orders = array();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user