[Settings] fixed data-empty usage within checkboxes

v1.18.x
frissdiegurke 11 years ago
parent 82ffaad939
commit 021e5bfcc5

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

Loading…
Cancel
Save