SECURITY: communityhome - can leak photos from people with hidden walls (Thx Chris Case)
This commit is contained in:
parent
1d233755b4
commit
974da7e5f5
Binary file not shown.
|
@ -105,6 +105,7 @@ function communityhome_home(&$a, &$o){
|
||||||
`user`
|
`user`
|
||||||
WHERE `user`.`uid` = `photo`.`uid`
|
WHERE `user`.`uid` = `photo`.`uid`
|
||||||
AND `user`.`blockwall`=0
|
AND `user`.`blockwall`=0
|
||||||
|
AND `user`.`hidewall` = 0
|
||||||
ORDER BY `photo`.`edited` DESC
|
ORDER BY `photo`.`edited` DESC
|
||||||
LIMIT 0, 12",
|
LIMIT 0, 12",
|
||||||
dbesc(t('Contact Photos')),
|
dbesc(t('Contact Photos')),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user