Merge pull request #6153 from simnandez/develop

Best fix of cancel edit line
This commit is contained in:
Juanjo Menent 2016-12-11 15:23:32 +01:00 committed by GitHub
commit bdf4fb587f

View File

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