diff options
author | friendica <info@friendica.com> | 2015-02-14 21:57:47 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-02-14 21:57:47 -0800 |
commit | 7ad425bbda549c3937c2feeac593bdcd21167019 (patch) | |
tree | 5ccb642a2d83f4c0c09f21e7af0e33cf10572c13 | |
parent | 59828593c14a64cecf7ee5c077da9f918062ed60 (diff) | |
download | volse-hubzilla-7ad425bbda549c3937c2feeac593bdcd21167019.tar.gz volse-hubzilla-7ad425bbda549c3937c2feeac593bdcd21167019.tar.bz2 volse-hubzilla-7ad425bbda549c3937c2feeac593bdcd21167019.zip |
failure to auto update comments if it's your own.
-rw-r--r-- | doc/credits.bb | 1 | ||||
-rw-r--r-- | mod/item.php | 2 | ||||
-rw-r--r-- | mod/rate.php | 13 | ||||
-rw-r--r-- | version.inc | 2 |
4 files changed, 11 insertions, 7 deletions
diff --git a/doc/credits.bb b/doc/credits.bb index d13b99bdd..79055bc29 100644 --- a/doc/credits.bb +++ b/doc/credits.bb @@ -50,6 +50,7 @@ Charles Tony Baldwin Hauke Zuehl Keith Fernie +Anne Walk toclimb Daniel Frank Matthew Exon diff --git a/mod/item.php b/mod/item.php index eb823b4b0..dbee2df3b 100644 --- a/mod/item.php +++ b/mod/item.php @@ -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') $item_flags = $item_flags | ITEM_WALL; diff --git a/mod/rate.php b/mod/rate.php index 694b88ddd..cc12dcac9 100644 --- a/mod/rate.php +++ b/mod/rate.php @@ -119,12 +119,15 @@ function rate_content(&$a) { dbesc($channel['channel_hash']), dbesc($a->data['target']) ); - if($r) + if($r) { $a->data['xlink'] = $r[0]; - - $rating_val = $r[0]['xlink_rating']; - $rating_text = $r[0]['xlink_rating_text']; - + $rating_val = $r[0]['xlink_rating']; + $rating_text = $r[0]['xlink_rating_text']; + } + else { + $rating_val = 0; + $rating_text = ''; + } // if unset default to enabled if($poco_rating === false) diff --git a/version.inc b/version.inc index 119344005..607466176 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2015-02-13.943 +2015-02-14.944 |