diff --git a/keepassxc-browser/content/keepassxc-browser.js b/keepassxc-browser/content/keepassxc-browser.js index 705d539..72a11a9 100755 --- a/keepassxc-browser/content/keepassxc-browser.js +++ b/keepassxc-browser/content/keepassxc-browser.js @@ -567,7 +567,7 @@ kpxcFields.isAutocompleteAppropriate = function(field) { // Checks if Custom Login Fields are used for the site kpxcFields.isCustomLoginFieldsUsed = function() { const location = kpxc.getDocumentLocation(); - return kpxc.settings['defined-custom-fields'] && kpxc.settings['defined-custom-fields'][location]; + return kpxc.settings['defined-custom-fields'] !== undefined && kpxc.settings['defined-custom-fields'][location] !== undefined; }; // Returns true if form is a search form