aboutsummaryrefslogtreecommitdiffstats
path: root/include/bookmarks.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-04 17:12:13 -0800
committerfriendica <info@friendica.com>2014-02-04 17:12:13 -0800
commitaede006970fb9124161b4732b9f44002a35d17ef (patch)
tree7d39ad22e8b3ac3f87903666fc454cc9c5dfc025 /include/bookmarks.php
parent3665bc38ef15137c7d36a12aa13a44c4d0304547 (diff)
downloadvolse-hubzilla-aede006970fb9124161b4732b9f44002a35d17ef.tar.gz
volse-hubzilla-aede006970fb9124161b4732b9f44002a35d17ef.tar.bz2
volse-hubzilla-aede006970fb9124161b4732b9f44002a35d17ef.zip
bookmarks - mop up and go home
Diffstat (limited to 'include/bookmarks.php')
-rw-r--r--include/bookmarks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bookmarks.php b/include/bookmarks.php
index 62ec9fcab..3ca8ee1c1 100644
--- a/include/bookmarks.php
+++ b/include/bookmarks.php
@@ -29,7 +29,7 @@ function bookmark_add($channel,$sender,$taxonomy,$private) {
$arr = array();
$arr['menu_name'] = substr($sender['xchan_hash'],0,16) . ' ' . $sender['xchan_name'];
$arr['menu_desc'] = sprintf( t('%1$s\'s bookmarks'), $sender['xchan_name']);
- $arr['menu_flags'] = MENU_SYSTEM|MENU_BOOKMARK;
+ $arr['menu_flags'] = (($sender['xchan_hash'] === $channel['channel_hash']) ? MENU_BOOKMARK : MENU_SYSTEM|MENU_BOOKMARK);
$arr['menu_channel_id'] = $channel_id;
$x = menu_list($arr['menu_channel_id'],$arr['menu_name'],$arr['menu_flags']);