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:
friendica
2013-12-22 18:37:39 -08:00
parent eff38538ee
commit 1a42580ad4
20 changed files with 73 additions and 60 deletions
+1 -1
View File
@@ -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) {