Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/app/services/searchboxexpanderservice.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/app/services/searchboxexpanderservice.js b/js/app/services/searchboxexpanderservice.js
index 187638fc..13e6bd62 100644
--- a/js/app/services/searchboxexpanderservice.js
+++ b/js/app/services/searchboxexpanderservice.js
@@ -52,7 +52,7 @@
var res = SettingsService.getSetting('searchbox_settings');
- if(res!== ""){
+ if(typeof(res) !== "undefined" && res !== null && res!== ""){
searchfields = JSON.parse(res);
}else{
searchfields=defaults;