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

View File

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