Merge branch 'kevin-prototype' into 'master'

FIXED VISIBILITY ON PROFILE

See merge request !183
This commit was merged in pull request #187.
This commit is contained in:
Lars van Hijfte
2017-02-02 13:57:44 +01:00
6 changed files with 24 additions and 9 deletions

View File

@@ -81,7 +81,10 @@ function selectGroupMembers(int $groupID) {
`username`,
`fname`,
`lname`,
`profilepicture`
IFNULL(
`profilepicture`,
'../img/avatar-standard.png'
) AS profilepicture
FROM
`group_member`
LEFT JOIN

View File

@@ -69,6 +69,10 @@ function selectUser($me, $other) {
`role`,
`fname`,
`lname`,
`showBday`,
`showEmail`,
`showProfile`,
`status`,
CASE `status` IS NULL
WHEN TRUE THEN 0
WHEN FALSE THEN