aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-10-28 15:24:37 -0700
committerzotlabs <mike@macgirvin.com>2017-10-28 15:24:37 -0700
commitfe2a937cf2e2cc723d930eaae885a4f8bbabe53c (patch)
tree3b42a8487550f077c594512462248c8106093478
parent6823f0aa52a76e57297f6658091fb47ebc30bb96 (diff)
downloadvolse-hubzilla-fe2a937cf2e2cc723d930eaae885a4f8bbabe53c.tar.gz
volse-hubzilla-fe2a937cf2e2cc723d930eaae885a4f8bbabe53c.tar.bz2
volse-hubzilla-fe2a937cf2e2cc723d930eaae885a4f8bbabe53c.zip
fix "unstar"
-rw-r--r--Zotlabs/Module/Starred.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Starred.php b/Zotlabs/Module/Starred.php
index 4f1d99ec6..8349ae25c 100644
--- a/Zotlabs/Module/Starred.php
+++ b/Zotlabs/Module/Starred.php
@@ -16,7 +16,7 @@ class Starred extends \Zotlabs\Web\Controller {
if(! $message_id)
killme();
- $r = q("SELECT item_flags FROM item WHERE uid = %d AND id = %d LIMIT 1",
+ $r = q("SELECT item_starred FROM item WHERE uid = %d AND id = %d LIMIT 1",
intval(local_channel()),
intval($message_id)
);