Fix SQL syntax
This commit is contained in:
parent
9672c1e1c1
commit
a7d8352cac
@ -90,7 +90,7 @@ function upsert_object( $object ) {
|
||||
INSERT INTO {$wpdb->prefix}pterotype_objects (activitypub_id, type, object, url)
|
||||
VALUES (%s, %s, %s, %s) ON DUPLICATE KEY UPDATE
|
||||
id=LAST_INSERT_ID(id),
|
||||
activitypub_id=VALUES(activitypub_id)
|
||||
activitypub_id=VALUES(activitypub_id),
|
||||
type=VALUES(type),
|
||||
object=VALUES(object),
|
||||
url=VALUES(url);
|
||||
|
Loading…
Reference in New Issue
Block a user