diff options
author | Friendika <info@friendika.com> | 2011-08-27 18:09:43 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-27 18:09:43 -0700 |
commit | ada8bee70e89c34afa53eff9ad70315cfcd34c6d (patch) | |
tree | 048175af42a2738a4c42c34df9e4d75b0101c897 /mod | |
parent | e3dbb6339386fce5cef2d22be6edd63b93a9b41d (diff) | |
download | volse-hubzilla-ada8bee70e89c34afa53eff9ad70315cfcd34c6d.tar.gz volse-hubzilla-ada8bee70e89c34afa53eff9ad70315cfcd34c6d.tar.bz2 volse-hubzilla-ada8bee70e89c34afa53eff9ad70315cfcd34c6d.zip |
remove public disclosure risk
Diffstat (limited to 'mod')
-rw-r--r-- | mod/network.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/network.php b/mod/network.php index 05b74b50a..54fb2a0a4 100644 --- a/mod/network.php +++ b/mod/network.php @@ -188,7 +188,7 @@ function network_content(&$a, $update = 0) { if(count($r)) { $sql_extra = " AND `item`.`parent` IN ( SELECT `parent` FROM `item` WHERE `id` = `parent` $star_sql AND `contact-id` IN ( " . intval($cid) . " )) "; $o = '<h2>' . t('Contact: ') . $r[0]['name'] . '</h2>' . $o; - if($r[0]['network'] !== NETWORK_MAIL && $r[0]['network'] !== NETWORK_DFRN && $r[0]['network'] !== NETWORK_FACEBOOK && $r[0]['writable'] && (! get_pconfig(local_user(),'system','nowarn_insecure'))) { + if($r[0]['network'] !== NETWORK_MAIL && $r[0]['network'] !== NETWORK_DFRN && $r[0]['network'] !== NETWORK_FACEBOOK && $r[0]['network'] !== NETWORK_DIASPORA && $r[0]['writable'] && (! get_pconfig(local_user(),'system','nowarn_insecure'))) { notice( t('Private messages to this person are at risk of public disclosure.') . EOL); } |