diff options
author | Friendika <info@friendika.com> | 2011-08-15 18:29:49 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-15 18:29:49 -0700 |
commit | 240941237a32c9da6cafffdd0ff80ddc1a939f26 (patch) | |
tree | 7cf4e8612806955c015be15b2be0bd67f9040dcf /mod/item.php | |
parent | a6d88fb8f7a1538f0b6af915107582b5189e25a0 (diff) | |
download | volse-hubzilla-240941237a32c9da6cafffdd0ff80ddc1a939f26.tar.gz volse-hubzilla-240941237a32c9da6cafffdd0ff80ddc1a939f26.tar.bz2 volse-hubzilla-240941237a32c9da6cafffdd0ff80ddc1a939f26.zip |
privacy enforcement on pubmail_enable
Diffstat (limited to 'mod/item.php')
-rw-r--r-- | mod/item.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php index cc4e1e1a8..54472e268 100644 --- a/mod/item.php +++ b/mod/item.php @@ -180,7 +180,7 @@ function item_post(&$a) { // if using the API, we won't see pubmail_enable - figure out if it should be set - if($api_source && $profile_uid && $profile_uid == local_user()) { + if($api_source && $profile_uid && $profile_uid == local_user() && (! $private)) { $mail_disabled = ((function_exists('imap_open') && (! get_config('system','imap_disabled'))) ? 0 : 1); if(! $mail_disabled) { $r = q("SELECT * FROM `mailacct` WHERE `uid` = %d AND `server` != '' LIMIT 1", |