remove a couple of mysql reserved words from being used as table or row names. For this round we're getting 'group' and 'desc'. Warning: potentially destabilising as this touches a lot of code.
This commit is contained in:
+1
-1
@@ -314,7 +314,7 @@ function import_post(&$a) {
|
||||
. implode("', '", array_values($group))
|
||||
. "')" );
|
||||
}
|
||||
$r = q("select * from `group` where uid = %d",
|
||||
$r = q("select * from `groups` where uid = %d",
|
||||
intval($channel['channel_id'])
|
||||
);
|
||||
if($r) {
|
||||
|
||||
Reference in New Issue
Block a user