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