Very best fix of cancel edit line

This commit is contained in:
Juanjo Menent 2016-12-11 15:37:29 +01:00
parent 7915021495
commit 1c71eed703

View File

@ -117,10 +117,11 @@ if (empty($reshook))
header("Location: ".$urltogo); header("Location: ".$urltogo);
exit; exit;
} }
else { if ($id > 0 || ! empty($ref)) {
header('Location: ' . $_SERVER['PHP_SELF'] . '?id=' . $id); $ret = $object->fetch($id,$ref);
exit(); $object->fetch_thirdparty();
} }
$action='';
} }
include DOL_DOCUMENT_ROOT.'/core/actions_setnotes.inc.php'; // Must be include, not include_once include DOL_DOCUMENT_ROOT.'/core/actions_setnotes.inc.php'; // Must be include, not include_once