Merge branch 'lars' into 'master'

BUG FIX: username doesn't cut off in link

See merge request !181
This commit was merged in pull request #185.
This commit is contained in:
Lars van Hijfte
2017-02-02 12:53:13 +01:00
3 changed files with 11 additions and 7 deletions

View File

@@ -355,7 +355,8 @@ function searchSomeUsers($n, $m, $search) {
$stmt = prepareQuery("
SELECT
`userID`,
LEFT(`username`, 12) as `username`,
LEFT(`username`, 12) as `usernameshort`,
`username`,
IFNULL(
`profilepicture`,
'../img/avatar-standard.png'