Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Apollon77 committed May 2, 2018
1 parent 03cf7ed commit 48ecdc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/setup/setupBackup.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ function BackupRestore(options) {

// try to find user files
for (var j = 0; j < result.objects.length; j++) {
if (!result.objects[j].value || !result.objects[j].value._id) continue;
if (!result.objects[j].value || !result.objects[j].value._id || !result.objects[j].value.common) continue;
//if (result.objects[j].doc) delete result.objects[j].doc;
if (result.objects[j].value._id.match(/^system\.adapter\.([\w\d_-]+).(\d+)$/) &&
result.objects[j].value.common.host === hostname) {
Expand Down

0 comments on commit 48ecdc3

Please sign in to comment.