bookmarks fail to sync
This commit is contained in:
parent
2c1560e027
commit
3cc66b6816
@ -59,9 +59,10 @@ function bookmark_add($channel,$sender,$taxonomy,$private,$opts = null) {
|
|||||||
);
|
);
|
||||||
if($r)
|
if($r)
|
||||||
logger('add_bookmark: duplicate menu entry', LOGGER_DEBUG);
|
logger('add_bookmark: duplicate menu entry', LOGGER_DEBUG);
|
||||||
if(! $r)
|
if(! $r) {
|
||||||
$r = menu_add_item($menu_id,$channel_id,$iarr);
|
$r = menu_add_item($menu_id,$channel_id,$iarr);
|
||||||
|
menu_sync_packet($channel_id,get_observer_hash(),$menu_id);
|
||||||
|
}
|
||||||
return $r;
|
return $r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user