Merge pull request #280 from kevgliss/SAN-hotfix

Fixes an issue where custom OIDs would clear out san extensions
This commit is contained in:
kevgliss 2016-04-11 12:04:24 -07:00
commit b463fcf61b
2 changed files with 2 additions and 2 deletions

View File

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