From 49d009502c0749f8fec26e04bf23dc19b5672996 Mon Sep 17 00:00:00 2001 From: "Sekan, Tobias" Date: Wed, 9 Sep 2020 08:16:26 +0200 Subject: [PATCH] fix sticker CI --- htdocs/core/lib/functions.lib.php | 31 ++++++++++--------------------- 1 file changed, 10 insertions(+), 21 deletions(-) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 2bc5d8eea53..144a420a542 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -8694,46 +8694,35 @@ function StartSimpleTableHeader($header, $link = "", $arguments = "", $emptyRows print $langs->trans($header); - if ($number > -1) - { - // extra space between the first header and the number + // extra space between the first header and the number + if ($number > -1) { print ' '; } - if (!empty($link)) - { - if (!empty($arguments)) - { + if (!empty($link)) { + if (!empty($arguments)) { print ''; - } - else - { + } else { print ''; } } - if ($number > -1) - { + if ($number > -1) { print ''.$number.''; } - if (!empty($link)) - { + if (!empty($link)) { print ''; } print ''; - if ($number < 0 && !empty($link)) - { + if ($number < 0 && !empty($link)) { print ''; - if (!empty($arguments)) - { + if (!empty($arguments)) { print ''; - } - else - { + } else { print ''; }