aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-08-31 20:55:25 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-08-31 20:55:25 -0700
commitd7cf7316beaecc6efacc01d56dbb066af8174416 (patch)
tree49a556c5055a0c75646e53ffb867da4aec08496e /include/identity.php
parent96c61fc5f26af06bf43ecae0819c095141e18db7 (diff)
downloadvolse-hubzilla-d7cf7316beaecc6efacc01d56dbb066af8174416.tar.gz
volse-hubzilla-d7cf7316beaecc6efacc01d56dbb066af8174416.tar.bz2
volse-hubzilla-d7cf7316beaecc6efacc01d56dbb066af8174416.zip
change the likes db structure to make it more easily importable/exportable
Diffstat (limited to 'include/identity.php')
-rw-r--r--include/identity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/identity.php b/include/identity.php
index daa985c2f..c892a4b55 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -565,7 +565,7 @@ function identity_basic_export($channel_id, $items = false) {
if(! $items)
return $ret;
- $r = q("select likes.*, item.mid from likes left join item on likes.iid = item.id where likes.channel_id = %d",
+ $r = q("select * likes where channel_id = %d",
intval($channel_id)
);