Fix fetch shipment object on cancel modification
This commit is contained in:
parent
e75dea4f8d
commit
8a1ab35b87
@ -115,7 +115,11 @@ if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'e
|
|||||||
|
|
||||||
if (empty($reshook))
|
if (empty($reshook))
|
||||||
{
|
{
|
||||||
if ($cancel) { $action = ''; }
|
if ($cancel)
|
||||||
|
{
|
||||||
|
$action = '';
|
||||||
|
$object->fetch($id); // show shipment also after canceling modification
|
||||||
|
}
|
||||||
|
|
||||||
include DOL_DOCUMENT_ROOT.'/core/actions_dellink.inc.php'; // Must be include, not include_once
|
include DOL_DOCUMENT_ROOT.'/core/actions_dellink.inc.php'; // Must be include, not include_once
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user