diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-08-31 20:55:25 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-08-31 20:55:25 -0700 |
commit | d7cf7316beaecc6efacc01d56dbb066af8174416 (patch) | |
tree | 49a556c5055a0c75646e53ffb867da4aec08496e /include/identity.php | |
parent | 96c61fc5f26af06bf43ecae0819c095141e18db7 (diff) | |
download | volse-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.php | 2 |
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) ); |