aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-05 16:01:02 -0800
committerfriendica <info@friendica.com>2014-02-05 16:01:02 -0800
commitda8a79ebfa948bc5f2f300404f661e71fdde788d (patch)
tree4088083ec79937ced23608362eab8fec782c11a2 /include/items.php
parentfdc0a7e95e1c0bd174bf09a4c3833ea29fd7211b (diff)
downloadvolse-hubzilla-da8a79ebfa948bc5f2f300404f661e71fdde788d.tar.gz
volse-hubzilla-da8a79ebfa948bc5f2f300404f661e71fdde788d.tar.bz2
volse-hubzilla-da8a79ebfa948bc5f2f300404f661e71fdde788d.zip
cleanup - nothing more
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/items.php b/include/items.php
index 2f2bcb2e4..8b9cc8d04 100755
--- a/include/items.php
+++ b/include/items.php
@@ -2181,10 +2181,10 @@ function tag_deliver($uid,$item_id) {
$terms = get_terms_oftype($item['term'],TERM_BOOKMARK);
- if($terms && (! $i[0]['item_restrict'])) {
+ if($terms && (! $item['item_restrict'])) {
logger('tag_deliver: found bookmark');
$bookmark_self = intval(get_pconfig($uid,'system','bookmark_self'));
- if(perm_is_allowed($u[0]['channel_id'],$i[0]['author_xchan'],'bookmark') && (($i[0]['author_xchan'] != $u[0]['channel_hash']) || ($bookmark_self))) {
+ if(perm_is_allowed($u[0]['channel_id'],$item['author_xchan'],'bookmark') && (($item['author_xchan'] != $u[0]['channel_hash']) || ($bookmark_self))) {
require_once('include/bookmarks.php');
require_once('include/Contact.php');
@@ -2193,7 +2193,7 @@ function tag_deliver($uid,$item_id) {
);
if($s) {
foreach($terms as $t) {
- bookmark_add($u[0],$s[0],$t,$i[0]['item_private']);
+ bookmark_add($u[0],$s[0],$t,$item['item_private']);
}
}
}