Added code to convert notification modes in the database to lowercase. Fixes issue 136.
This commit is contained in:
parent
a5e6c8b596
commit
bc98042790
1 changed files with 7 additions and 0 deletions
|
@ -60,3 +60,10 @@ sql.execute(template, "subscriber", "Subscriber");
|
|||
sql.execute(template, 'contributor', 'Contributor');
|
||||
sql.execute(template, 'manager', 'Manager');
|
||||
sql.execute(template, 'owner', 'Owner');
|
||||
|
||||
// Convert notification modes to lowercase
|
||||
root.forEach(function() {
|
||||
if (this.notificationMode !== null) {
|
||||
this.notificationMode = this.notificationMode.toLowerCase()
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue