Fix broken users page when a username consists of digits only, fixes #5560

remotes/origin/stable6
Arthur Schiwon 12 years ago
parent e0f5fa9ea7
commit 3248b0e2be
  1. 2
      core/js/jquery.avatar.js

@ -66,7 +66,7 @@
}
// sanitize
user = user.replace(/\//g,'');
user = String(user).replace(/\//g,'');
var $div = this;

Loading…
Cancel
Save