]> git.mxchange.org Git - friendica-addons.git/commitdiff
SECURITY: communityhome - can leak photos from people with hidden walls (Thx Chris...
authorfriendica <info@friendica.com>
Mon, 17 Dec 2012 22:13:37 +0000 (14:13 -0800)
committerfriendica <info@friendica.com>
Mon, 17 Dec 2012 22:13:37 +0000 (14:13 -0800)
communityhome.tgz
communityhome/communityhome.php

index 129081b613e8d3babac1e5ad3262e5558cf837c1..20f7b9642c0e676d43f9143eb52e1df174bde2ff 100755 (executable)
Binary files a/communityhome.tgz and b/communityhome.tgz differ
index 2b14fd3381547eaa3da58f715836feb8976a8f4f..484842cce7b53e56b7cd4ae091edcf9d4067d6a8 100755 (executable)
@@ -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')),