aboutsummaryrefslogtreecommitdiffstats
path: root/include/Contact.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-06-26 14:28:11 -0700
committerfriendica <info@friendica.com>2013-06-26 14:28:11 -0700
commit156cf592eeeaf1ef2fe446655b1f28debab7814c (patch)
tree127c83cb662aea4f39aa9fa020d53c700fab3d78 /include/Contact.php
parent57c7f725f67ac868b54d0dbff2d4fb0122af3954 (diff)
downloadvolse-hubzilla-156cf592eeeaf1ef2fe446655b1f28debab7814c.tar.gz
volse-hubzilla-156cf592eeeaf1ef2fe446655b1f28debab7814c.tar.bz2
volse-hubzilla-156cf592eeeaf1ef2fe446655b1f28debab7814c.zip
more nomadic clone sync
Diffstat (limited to 'include/Contact.php')
-rw-r--r--include/Contact.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/Contact.php b/include/Contact.php
index b2d459ca4..245682454 100644
--- a/include/Contact.php
+++ b/include/Contact.php
@@ -76,6 +76,9 @@ function abook_toggle_flag($abook,$flag) {
intval($abook['abook_id']),
intval($abook['abook_channel'])
);
+ $a = get_app();
+ if($a->data['abook'])
+ $a->data['abook']['abook_flags'] = $a->data['abook']['abook_flags'] ^ $flag;
return $r;
}