From 3248b0e2bef510d1325d278491fa181323e1206f Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Fri, 25 Oct 2013 22:00:32 +0200 Subject: Fix broken users page when a username consists of digits only, fixes #5560 --- core/js/jquery.avatar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3