Skip to content
Snippets Groups Projects
Commit 8a1ab35b authored by fappels's avatar fappels
Browse files

Fix fetch shipment object on cancel modification

parent e75dea4f
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,11 @@ if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'e
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment