We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 778482d + 06854f0 commit 2843597Copy full SHA for 2843597
htdocs/core/class/html.formsetup.class.php
@@ -615,7 +615,7 @@ class FormSetupItem
615
/** @var string $picto */
616
public $picto = '';
617
618
- /** @var string $fieldValue */
+ /** @var string|null $fieldValue */
619
public $fieldValue;
620
621
/** @var string $defaultFieldValue */
@@ -700,10 +700,10 @@ public function loadValueFromConf()
700
{
701
global $conf;
702
if (isset($conf->global->{$this->confKey})) {
703
- $this->fieldValue = getDolGlobalString($this->confKey);
+ $this->fieldValue = getDolGlobalString($this->confKey, null);
704
return true;
705
} else {
706
- $this->fieldValue = '';
+ $this->fieldValue = null;
707
return false;
708
}
709
0 commit comments