diff options
author | marijus <mario@localhost.localdomain> | 2014-02-05 14:48:42 +0100 |
---|---|---|
committer | marijus <mario@localhost.localdomain> | 2014-02-05 14:48:42 +0100 |
commit | 419e3b5024efec40c98e48c3bf213c4e60d39fae (patch) | |
tree | d3754aa1d251308eb6178fe4ab138463ceaaf135 /mod/connections.php | |
parent | d7d2fff24b05bcb3ff3acc215e99f8f7d33d058d (diff) | |
parent | 0844110f7b154a0fb5102362fe732c2b091222d7 (diff) | |
download | volse-hubzilla-419e3b5024efec40c98e48c3bf213c4e60d39fae.tar.gz volse-hubzilla-419e3b5024efec40c98e48c3bf213c4e60d39fae.tar.bz2 volse-hubzilla-419e3b5024efec40c98e48c3bf213c4e60d39fae.zip |
Merge branch 'master' of https://github.com/friendica/red into upstream
Diffstat (limited to 'mod/connections.php')
-rw-r--r-- | mod/connections.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/connections.php b/mod/connections.php index 2119c69c7..3da9cec74 100644 --- a/mod/connections.php +++ b/mod/connections.php @@ -74,6 +74,7 @@ function connections_post(&$a) { $abook_flags = $orig_record[0]['abook_flags']; $new_friend = false; + if(($_REQUEST['pending']) && ($abook_flags & ABOOK_FLAG_PENDING)) { $abook_flags = ( $abook_flags ^ ABOOK_FLAG_PENDING ); $new_friend = true; @@ -88,6 +89,7 @@ function connections_post(&$a) { intval($contact_id), intval(local_user()) ); + if($r) info( t('Connection updated.') . EOL); else |