From 69dc1b03c3ce8ee7199f337e50402d98679cb6bf Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 31 Aug 2015 21:01:47 -0700 Subject: typo in sql --- include/identity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/identity.php b/include/identity.php index c892a4b55..2535e1e1d 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 where channel_id = %d", + $r = q("select * from likes where channel_id = %d", intval($channel_id) ); -- cgit v1.2.3