fix: Don't show value not set on boolean false values that are actually set in the server settings

pull/1857/head
Iglocska 2017-01-16 11:40:48 +01:00
parent be4d8ed54f
commit 7d3a04cb2e
1 changed files with 1 additions and 0 deletions

View File

@ -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;