aboutsummaryrefslogtreecommitdiffstats
path: root/mod/like.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-14 20:39:46 -0700
committerfriendica <info@friendica.com>2012-07-14 20:39:46 -0700
commit03209d2d0dc6b0ceed2325bff598fede2c538301 (patch)
treefb230666b2b79f97ddd744fe155a4b088640ad29 /mod/like.php
parenta20a6377277a985fa596b0ea460d91b97f79b4a5 (diff)
downloadvolse-hubzilla-03209d2d0dc6b0ceed2325bff598fede2c538301.tar.gz
volse-hubzilla-03209d2d0dc6b0ceed2325bff598fede2c538301.tar.bz2
volse-hubzilla-03209d2d0dc6b0ceed2325bff598fede2c538301.zip
updates
Diffstat (limited to 'mod/like.php')
-rwxr-xr-xmod/like.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/like.php b/mod/like.php
index 8fe0cf735..aaa85928c 100755
--- a/mod/like.php
+++ b/mod/like.php
@@ -117,7 +117,7 @@ function like_content(&$a) {
$like_item = $r[0];
// Already voted, undo it
- $r = q("UPDATE `item` SET `deleted` = 1, `changed` = '%s' WHERE `id` = %d LIMIT 1",
+ $r = q("UPDATE `item` SET `deleted` = 1, `unseen` = 1, `changed` = '%s' WHERE `id` = %d LIMIT 1",
dbesc(datetime_convert()),
intval($like_item['id'])
);