From d7cf7316beaecc6efacc01d56dbb066af8174416 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 31 Aug 2015 20:55:25 -0700 Subject: change the likes db structure to make it more easily importable/exportable --- include/identity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/identity.php') 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) ); -- cgit v1.2.3