Merge pull request #6153 from simnandez/develop
Best fix of cancel edit line
This commit is contained in:
commit
bdf4fb587f
@ -117,8 +117,10 @@ if (empty($reshook))
|
|||||||
header("Location: ".$urltogo);
|
header("Location: ".$urltogo);
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
if ($id > 0 || ! empty($ref)) $ret = $object->fetch($id,$ref);
|
else {
|
||||||
$action='';
|
header('Location: ' . $_SERVER['PHP_SELF'] . '?id=' . $id);
|
||||||
|
exit();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user