fixed success message showing up even when you don't create orders
This commit is contained in:
parent
787125cf12
commit
72afadb84e
@ -185,7 +185,7 @@ if($action == 'order') {
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
if(!$fail) {
|
||||
if(!$fail && $id) {
|
||||
setEventMessage($langs->trans('OrderCreated'), 'mesgs');
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user