more nomadic clone sync

This commit is contained in:
friendica
2013-06-26 14:28:11 -07:00
parent 57c7f725f6
commit 156cf592ee
4 changed files with 36 additions and 8 deletions

View File

@@ -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;
}