diff options
-rw-r--r-- | core/js/jquery.avatar.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/jquery.avatar.js b/core/js/jquery.avatar.js index dbab032b971..6012eccfad6 100644 --- a/core/js/jquery.avatar.js +++ b/core/js/jquery.avatar.js @@ -66,7 +66,7 @@ } // sanitize - user = user.replace(/\//g,''); + user = String(user).replace(/\//g,''); var $div = this; |