sync abook flags in memory after altering them

This commit is contained in:
redmatrix
2015-08-23 17:36:00 -07:00
parent bf190be5b4
commit 8cd583fd8c
2 changed files with 11 additions and 3 deletions

View File

@@ -174,9 +174,6 @@ function abook_toggle_flag($abook,$flag) {
);
}
$a = get_app();
if($a->data['abook'])
$a->data['abook']['abook_flags'] = $a->data['abook']['abook_flags'] ^ $flag;
return $r;
}