diff options
author | friendica <info@friendica.com> | 2014-02-03 14:03:43 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-02-03 14:03:43 -0800 |
commit | c4d088459634d8148620a27c56ba06b33814668f (patch) | |
tree | bb225ee3b1136f4a178605a66527fb34417f3c43 /mod/connections.php | |
parent | 6c91580716524e03d68d6d3c95f0fa38b91a1362 (diff) | |
download | volse-hubzilla-c4d088459634d8148620a27c56ba06b33814668f.tar.gz volse-hubzilla-c4d088459634d8148620a27c56ba06b33814668f.tar.bz2 volse-hubzilla-c4d088459634d8148620a27c56ba06b33814668f.zip |
accept new connection broke yesterday
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 |