mirror of
https://github.com/vale981/Vulcan
synced 2025-03-05 09:31:43 -05:00
Fix denormalization when bio set to empty
This commit is contained in:
parent
ed28293c64
commit
23eadbe89e
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@
|
|||
addCallback('users.new.sync', usersMakeAdmin);
|
||||
|
||||
function usersEditGenerateHtmlBio (modifier) {
|
||||
if (modifier.$set && modifier.$set.bio) {
|
||||
if (modifier.$set && 'bio' in modifier.$set) {
|
||||
modifier.$set.htmlBio = Utils.sanitize(marked(modifier.$set.bio));
|
||||
}
|
||||
return modifier;
|
||||
|
|
Loading…
Add table
Reference in a new issue