mysql 5.1 chokes on 'select * from group' since group is a keyword
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user