From 26f553a1a8be46c95223bd55eb08a15e6204a4b5 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Aug 2016 12:04:43 +0200 Subject: [PATCH] Fix bad position of test --- htdocs/core/class/html.form.class.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index eaf4ddd4d94..83f10b469c0 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -5358,12 +5358,12 @@ class Form '; } + + $linktoelem.=($linktoelem?'   ':''); + if ($num > 0) $linktoelem.='' . $langs->trans($possiblelink['label']) .' ('.$num.')'; + //else $linktoelem.=$langs->trans($possiblelink['label']); + else $linktoelem.='' . $langs->trans($possiblelink['label']) . ''; } - - $linktoelem.=($linktoelem?'   ':''); - if ($num > 0) $linktoelem.='' . $langs->trans($possiblelink['label']) .' ('.$num.')'; - //else $linktoelem.=$langs->trans($possiblelink['label']); - else $linktoelem.='' . $langs->trans($possiblelink['label']) . ''; } return $linktoelem;