Skip to content
Snippets Groups Projects
Commit 9d1d0104 authored by Juanjo Menent's avatar Juanjo Menent Committed by GitHub
Browse files

Merge pull request #6155 from simnandez/develop

Very best fix
parents bdf4fb58 2af54199
No related branches found
No related tags found
No related merge requests found
......@@ -117,10 +117,11 @@ if (empty($reshook))
header("Location: ".$urltogo);
exit;
}
else {
header('Location: ' . $_SERVER['PHP_SELF'] . '?id=' . $id);
exit();
if ($id > 0 || ! empty($ref)) {
$ret = $object->fetch($id,$ref);
$object->fetch_thirdparty();
}
$action='';
}
include DOL_DOCUMENT_ROOT.'/core/actions_setnotes.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