mirror of https://github.com/MISP/MISP
fix: Don't show value not set on boolean false values that are actually set in the server settings
parent
be4d8ed54f
commit
7d3a04cb2e
|
@ -2104,6 +2104,7 @@ class Server extends AppModel {
|
|||
}
|
||||
|
||||
public function testForEmpty($value) {
|
||||
if ($value === false) return true;
|
||||
$value = trim($value);
|
||||
if ($value === '') return 'Value not set.';
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue