Fix broken users page when a username consists of digits only, fixes #5560
This commit is contained in:
parent
e0f5fa9ea7
commit
3248b0e2be
|
@ -66,7 +66,7 @@
|
|||
}
|
||||
|
||||
// sanitize
|
||||
user = user.replace(/\//g,'');
|
||||
user = String(user).replace(/\//g,'');
|
||||
|
||||
var $div = this;
|
||||
|
||||
|
|
Loading…
Reference in New Issue