diff options
author | Friendika <info@friendika.com> | 2011-08-19 05:20:30 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-19 05:20:30 -0700 |
commit | 9a52b152719e0e3e224fa19379f7f5e78dd986ce (patch) | |
tree | 8045df4275a39ce43cef1cdcdf8dd57065afe363 /include | |
parent | ef98c7e02097258916deb06039827f4898d4078a (diff) | |
download | volse-hubzilla-9a52b152719e0e3e224fa19379f7f5e78dd986ce.tar.gz volse-hubzilla-9a52b152719e0e3e224fa19379f7f5e78dd986ce.tar.bz2 volse-hubzilla-9a52b152719e0e3e224fa19379f7f5e78dd986ce.zip |
don't allow removal of self contact
Diffstat (limited to 'include')
-rw-r--r-- | include/diaspora.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/diaspora.php b/include/diaspora.php index 0be2392d1..b14c38f1d 100644 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -789,9 +789,10 @@ function diaspora_share($me,$contact) { $myaddr = $me['nickname'] . '@' . substr($a->get_baseurl(), strpos($a->get_baseurl(),'://') + 3); $theiraddr = $contact['addr']; +logger('diaspora_share: contact: ' . print_r($contact,true), LOGGER_DATA); $tpl = get_markup_template('diaspora_share.tpl'); $msg = replace_macros($tpl, array( - '$sender' => myaddr, + '$sender' => $myaddr, '$recipient' => $theiraddr )); |