add redirect on action confirm addconsumedline and addproduceline

This commit is contained in:
jpb 2022-08-13 14:02:10 +02:00
parent d510e3ffcc
commit a03ef11e05

View File

@ -174,6 +174,8 @@ if (empty($reshook)) {
}
$action = '';
// Redirect to refresh the tab information
header("Location: ".$_SERVER["PHP_SELF"].'?id='.$object->id);
}
if (in_array($action, array('confirm_consumeorproduce', 'confirm_consumeandproduceall')) && $permissiontoproduce) {