Fix comment and remove not use global
This commit is contained in:
parent
a75ae6a8cf
commit
29437a22b9
@ -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,
|
* @param array $attributes an array of attributes keys and values,
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
@ -690,7 +690,7 @@ class FormSetupItem
|
|||||||
*/
|
*/
|
||||||
public function generateInputField()
|
public function generateInputField()
|
||||||
{
|
{
|
||||||
global $conf, $user;
|
global $conf;
|
||||||
|
|
||||||
if (!empty($this->fieldOverride)) {
|
if (!empty($this->fieldOverride)) {
|
||||||
return $this->fieldOverride;
|
return $this->fieldOverride;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user