Fixes an issue where custom OIDs would clear out san extensions

This commit is contained in:
kevgliss 2016-04-11 11:17:18 -07:00
parent 3f89d6d009
commit 82b4f5125d
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ angular.module('lemur')
}
if (this.extensions.custom === undefined) {
this.extensions = {'custom': []};
this.extensions.custom = [];
}
if (angular.isString(this.customOid) && angular.isString(this.customEncoding) && angular.isString(this.customValue)) {

View File

@ -39,7 +39,7 @@ angular.module('lemur')
}
if (this.extensions.custom === undefined) {
this.extensions = {'custom': []};
this.extensions.custom = [];
}
if (angular.isString(this.customOid) && angular.isString(this.customEncoding) && angular.isString(this.customValue)) {