mysql 5.1 chokes on 'select * from group' since group is a keyword

This commit is contained in:
Zach Prezkuta
2013-05-12 09:40:54 -06:00
parent 8a1c8c4a03
commit 24d088d43b
3 changed files with 6 additions and 6 deletions

View File

@@ -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;
}
}