Bugfix: There was an SQL error when adding new entries in the fcontact table
This commit is contained in:
parent
334db69d5d
commit
1603aa41ef
|
@ -638,7 +638,7 @@ class diaspora {
|
||||||
} else {
|
} else {
|
||||||
$r = q("INSERT INTO `fcontact` (`url`,`name`,`photo`,`request`,`nick`,`addr`, `guid`,
|
$r = q("INSERT INTO `fcontact` (`url`,`name`,`photo`,`request`,`nick`,`addr`, `guid`,
|
||||||
`batch`, `notify`,`poll`,`confirm`,`network`,`alias`,`pubkey`,`updated`)
|
`batch`, `notify`,`poll`,`confirm`,`network`,`alias`,`pubkey`,`updated`)
|
||||||
VALUES ('%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s')",
|
VALUES ('%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s')",
|
||||||
dbesc($arr["url"]),
|
dbesc($arr["url"]),
|
||||||
dbesc($arr["name"]),
|
dbesc($arr["name"]),
|
||||||
dbesc($arr["photo"]),
|
dbesc($arr["photo"]),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user