From e0b9496f9e18568cf3d14bc1f9bbd53384bb6477 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Thu, 4 Aug 2016 10:44:17 +0200 Subject: [PATCH] Fix link sometimes fails because of id not defined --- htdocs/core/class/html.form.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 61a999f7a04..2929044a858 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -5312,6 +5312,7 @@ class Form $i = 0; print '<br><form action="" method="POST" name="LinkedOrder">'; + print '<input type="hidden" name="id" value="'.$object->id.'">'; print '<table class="noborder">'; print '<tr class="liste_titre">'; print '<td class="nowrap"></td>'; -- GitLab