Fix SQL syntax

This commit is contained in:
Jeremy Dormitzer 2018-11-11 09:11:33 -05:00
parent 9672c1e1c1
commit a7d8352cac

View File

@ -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);