diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-10-25 22:00:32 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-10-25 22:00:32 +0200 |
commit | 3248b0e2bef510d1325d278491fa181323e1206f (patch) | |
tree | d738a0c9cde1e8576cd49e629f4eb3347b95d574 | |
parent | e0f5fa9ea7aabc4d8dfdfbb48269ec3579ae9510 (diff) | |
download | nextcloud-server-3248b0e2bef510d1325d278491fa181323e1206f.tar.gz nextcloud-server-3248b0e2bef510d1325d278491fa181323e1206f.zip |
Fix broken users page when a username consists of digits only, fixes #5560
-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; |