Demo: fix
This commit is contained in:
1 parent
b891d8f516
commit
1165918cd6
2 files changed
+2
-2
No files matched your search
@@ -18,7 +18,7 @@ function getUserRole(found) {
|
||||
var mail = found.mail;
|
||||
if (!/\d/.test(mail)) {
|
||||
// Mail contains no number
|
||||
roles += ",author";
|
||||
roles += ',"author"';
|
||||
}
|
||||
return ('{'+roles+'}');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user