From 29437a22b9364314cafd4021547f885a2ab51c54 Mon Sep 17 00:00:00 2001 From: ATM john Date: Sun, 28 Nov 2021 12:15:31 +0100 Subject: [PATCH] Fix comment and remove not use global --- htdocs/core/class/html.formsetup.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/html.formsetup.class.php b/htdocs/core/class/html.formsetup.class.php index a8ed08587ed..149e416fd81 100644 --- a/htdocs/core/class/html.formsetup.class.php +++ b/htdocs/core/class/html.formsetup.class.php @@ -121,7 +121,7 @@ class FormSetup } /** - * Generae an attributes string form an input array + * Generate an attributes string form an input array * @param array $attributes an array of attributes keys and values, * @return string */ @@ -690,7 +690,7 @@ class FormSetupItem */ public function generateInputField() { - global $conf, $user; + global $conf; if (!empty($this->fieldOverride)) { return $this->fieldOverride;