SyncPropertyForm: fix prefilling filters

This commit is contained in:
Thomas Gelf 2016-03-15 16:01:21 +01:00
parent c34f1c5411
commit 6327066459
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ class SyncPropertyForm extends DirectorObjectForm
$this->setElementValue('use_filter', $useFilter = 'n');
}
} else {
$useFilter = empty($this->getObject()->filter_expression) ? 'n' : 'y';
$useFilter = strlen($this->getObject()->filter_expression) ? 'y' : 'n';
$this->setElementValue('use_filter', $useFilter);
}