Merge pull request #6155 from simnandez/develop

Very best fix
This commit is contained in:
Juanjo Menent 2016-12-11 15:39:54 +01:00 committed by GitHub
commit 9d1d010413

View File

@ -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