summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-10-26 12:12:28 -0700
committerThomas Müller <thomas.mueller@tmit.eu>2013-10-26 12:12:28 -0700
commit5fca709e943810c608ecf7f941988f82d4952630 (patch)
treed738a0c9cde1e8576cd49e629f4eb3347b95d574
parente0f5fa9ea7aabc4d8dfdfbb48269ec3579ae9510 (diff)
parent3248b0e2bef510d1325d278491fa181323e1206f (diff)
downloadnextcloud-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.js2
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;