diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-26 12:12:28 -0700 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-26 12:12:28 -0700 |
commit | 5fca709e943810c608ecf7f941988f82d4952630 (patch) | |
tree | d738a0c9cde1e8576cd49e629f4eb3347b95d574 | |
parent | e0f5fa9ea7aabc4d8dfdfbb48269ec3579ae9510 (diff) | |
parent | 3248b0e2bef510d1325d278491fa181323e1206f (diff) | |
download | nextcloud-server-5fca709e943810c608ecf7f941988f82d4952630.tar.gz nextcloud-server-5fca709e943810c608ecf7f941988f82d4952630.zip |
Merge pull request #5562 from owncloud/fix5560
Fix broken users page when a username consists of digits only, fixes #55...
-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; |