From 24d088d43be7cc03a0975360d7542b578c48369f Mon Sep 17 00:00:00 2001 From: Zach Prezkuta Date: Sun, 12 May 2013 09:40:54 -0600 Subject: mysql 5.1 chokes on 'select * from group' since group is a keyword --- include/identity.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/identity.php b/include/identity.php index c8910c018..4bbc8970b 100644 --- a/include/identity.php +++ b/include/identity.php @@ -293,7 +293,7 @@ function identity_basic_export($channel_id) { $ret['hubloc'] = $r; } - $r = q("select * from group where uid = %d ", + $r = q("select * from `group` where uid = %d ", intval($channel_id) ); @@ -372,4 +372,4 @@ function identity_basic_import($arr, $seize_primary = false) { return $ret; -} \ No newline at end of file +} -- cgit v1.2.3