aboutsummaryrefslogtreecommitdiffstats
path: root/include/bookmarks.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-09-20 16:07:32 -0700
committerzotlabs <mike@macgirvin.com>2018-09-20 16:07:32 -0700
commit3cc66b68162a82493cd68d369e4f0cbb01f941d0 (patch)
tree7a68be215fa39675ddcf7e584b6caf305178dca7 /include/bookmarks.php
parent2c1560e027bc3dc6c1d611ff782b29eeabdb76f0 (diff)
downloadvolse-hubzilla-3cc66b68162a82493cd68d369e4f0cbb01f941d0.tar.gz
volse-hubzilla-3cc66b68162a82493cd68d369e4f0cbb01f941d0.tar.bz2
volse-hubzilla-3cc66b68162a82493cd68d369e4f0cbb01f941d0.zip
bookmarks fail to sync
Diffstat (limited to 'include/bookmarks.php')
-rw-r--r--include/bookmarks.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/bookmarks.php b/include/bookmarks.php
index 0db103054..21456c871 100644
--- a/include/bookmarks.php
+++ b/include/bookmarks.php
@@ -59,9 +59,10 @@ function bookmark_add($channel,$sender,$taxonomy,$private,$opts = null) {
);
if($r)
logger('add_bookmark: duplicate menu entry', LOGGER_DEBUG);
- if(! $r)
+ if(! $r) {
$r = menu_add_item($menu_id,$channel_id,$iarr);
-
+ menu_sync_packet($channel_id,get_observer_hash(),$menu_id);
+ }
return $r;
}