diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/identity.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/identity.php b/include/identity.php index 89589802f..cc2a37cc7 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 * from likes where channel_id = %d", intval($channel_id) ); |