From: friendica Date: Mon, 17 Dec 2012 22:13:37 +0000 (-0800) Subject: SECURITY: communityhome - can leak photos from people with hidden walls (Thx Chris... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=974da7e5f57ced9a4e3183ac599e6d50c4e4c841;p=friendica-addons.git SECURITY: communityhome - can leak photos from people with hidden walls (Thx Chris Case) --- diff --git a/communityhome.tgz b/communityhome.tgz index 129081b6..20f7b964 100755 Binary files a/communityhome.tgz and b/communityhome.tgz differ diff --git a/communityhome/communityhome.php b/communityhome/communityhome.php index 2b14fd33..484842cc 100755 --- a/communityhome/communityhome.php +++ b/communityhome/communityhome.php @@ -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')),