From 86d9fda87e1b63daabd459533ae2d138f7a38c35 Mon Sep 17 00:00:00 2001 From: mgabriel Date: Wed, 15 Mar 2023 09:19:10 +0100 Subject: [PATCH] Corrected sticler-ci errors. --- 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 14abaeeaff2..ab5bb032837 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -2609,11 +2609,11 @@ class Form // Add select from hooks $parameters = array(); $reshook = $hookmanager->executeHooks('selectProductsListSelect', $parameters); // Note that $action and $object may have been modified by hook - if ($reshook > 0) { - $sql .= $selectFields.$selectFieldsGrouped.$hookmanager->resPrint; - } else { - $sql .= $hookmanager->resPrint; - } + if ($reshook > 0) { + $sql .= $selectFields.$selectFieldsGrouped.$hookmanager->resPrint; + } else { + $sql .= $hookmanager->resPrint; + } if (!empty($conf->global->PRODUCT_SORT_BY_CATEGORY)) { //Product category