failure to auto update comments if it's your own.
This commit is contained in:
parent
59828593c1
commit
7ad425bbda
@ -50,6 +50,7 @@ Charles
|
|||||||
Tony Baldwin
|
Tony Baldwin
|
||||||
Hauke Zuehl
|
Hauke Zuehl
|
||||||
Keith Fernie
|
Keith Fernie
|
||||||
|
Anne Walk
|
||||||
toclimb
|
toclimb
|
||||||
Daniel Frank
|
Daniel Frank
|
||||||
Matthew Exon
|
Matthew Exon
|
||||||
|
@ -644,7 +644,7 @@ function item_post(&$a) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$item_unseen = ((local_channel() != $profile_uid) ? 1 : 0);
|
$item_unseen = 1;
|
||||||
|
|
||||||
if($post_type === 'wall' || $post_type === 'wall-comment')
|
if($post_type === 'wall' || $post_type === 'wall-comment')
|
||||||
$item_flags = $item_flags | ITEM_WALL;
|
$item_flags = $item_flags | ITEM_WALL;
|
||||||
|
13
mod/rate.php
13
mod/rate.php
@ -119,12 +119,15 @@ function rate_content(&$a) {
|
|||||||
dbesc($channel['channel_hash']),
|
dbesc($channel['channel_hash']),
|
||||||
dbesc($a->data['target'])
|
dbesc($a->data['target'])
|
||||||
);
|
);
|
||||||
if($r)
|
if($r) {
|
||||||
$a->data['xlink'] = $r[0];
|
$a->data['xlink'] = $r[0];
|
||||||
|
$rating_val = $r[0]['xlink_rating'];
|
||||||
$rating_val = $r[0]['xlink_rating'];
|
$rating_text = $r[0]['xlink_rating_text'];
|
||||||
$rating_text = $r[0]['xlink_rating_text'];
|
}
|
||||||
|
else {
|
||||||
|
$rating_val = 0;
|
||||||
|
$rating_text = '';
|
||||||
|
}
|
||||||
|
|
||||||
// if unset default to enabled
|
// if unset default to enabled
|
||||||
if($poco_rating === false)
|
if($poco_rating === false)
|
||||||
|
@ -1 +1 @@
|
|||||||
2015-02-13.943
|
2015-02-14.944
|
||||||
|
Reference in New Issue
Block a user