add redirect on action confirm addconsumedline and addproduceline
This commit is contained in:
parent
d510e3ffcc
commit
a03ef11e05
@ -174,6 +174,8 @@ if (empty($reshook)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$action = '';
|
$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) {
|
if (in_array($action, array('confirm_consumeorproduce', 'confirm_consumeandproduceall')) && $permissiontoproduce) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user