From fb5a72e49bd63cf769215833bd4bf4661a6f905d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 12 Apr 2026 13:52:10 +0200 Subject: [PATCH] Try ci fix --- htdocs/core/class/html.formsetup.class.php | 10 +++++----- htdocs/webportal/admin/setup.php | 5 ++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/htdocs/core/class/html.formsetup.class.php b/htdocs/core/class/html.formsetup.class.php index 683a53693c6..8934d251758 100644 --- a/htdocs/core/class/html.formsetup.class.php +++ b/htdocs/core/class/html.formsetup.class.php @@ -662,10 +662,10 @@ class FormSetupItem /** @var int */ public $rank = 0; - /** @var array set this var for options on select and multiselect items */ + /** @var array set this var for options on select and multiselect items */ public $fieldOptions = array(); - /** @var array set this var to add more parameters */ + /** @var array set this var to add more parameters */ public $fieldParams = array(); /** @var callable */ @@ -1695,7 +1695,7 @@ class FormSetupItem /** * Set type of input as a multiselect list. * - * @param array $fieldOptions A table of field options + * @param array $fieldOptions A table of field options * @return self */ public function setAsMultiSelect($fieldOptions) @@ -1711,7 +1711,7 @@ class FormSetupItem /** * Set type of input as a select list. * - * @param ?array $fieldOptions A table of field options + * @param ?array $fieldOptions A table of field options * @return self */ public function setAsSelect($fieldOptions) @@ -1728,7 +1728,7 @@ class FormSetupItem /** * Set type of input as a radio button. * - * @param ?array $fieldOptions A table of field options + * @param ?array $fieldOptions A table of field options * @return self */ public function setAsRadio($fieldOptions) diff --git a/htdocs/webportal/admin/setup.php b/htdocs/webportal/admin/setup.php index 27bdba9e7c8..da1e52e3bc9 100644 --- a/htdocs/webportal/admin/setup.php +++ b/htdocs/webportal/admin/setup.php @@ -26,9 +26,6 @@ // Load Dolibarr environment require_once "../../main.inc.php"; -require_once DOL_DOCUMENT_ROOT . "/core/lib/admin.lib.php"; -require_once DOL_DOCUMENT_ROOT . "/webportal/lib/webportal.lib.php"; - /** * @var Conf $conf * @var DoliDB $db @@ -38,6 +35,8 @@ require_once DOL_DOCUMENT_ROOT . "/webportal/lib/webportal.lib.php"; * * @var string $dolibarr_main_url_root */ +require_once DOL_DOCUMENT_ROOT . "/core/lib/admin.lib.php"; +require_once DOL_DOCUMENT_ROOT . "/webportal/lib/webportal.lib.php"; // Translations $langs->loadLangs(array("admin", "webportal", "website"));