mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-11 18:32:32 +01:00
Merge pull request #6153 from simnandez/develop
Best fix of cancel edit line
This commit is contained in:
@@ -116,9 +116,11 @@ if (empty($reshook))
|
||||
$urltogo=$backtopage?$backtopage:dol_buildpath('/commande/list.php',1);
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user