[Settings] fixed data-empty usage within checkboxes

This commit is contained in:
frissdiegurke
2014-07-22 12:01:05 +02:00
parent 82ffaad939
commit 021e5bfcc5

View File

@@ -21,7 +21,7 @@ define('settings/checkbox', function () {
if (value == null) {
return void 0;
}
if (empty) {
if (!empty) {
return value || void 0;
}
if (trim) {