From a7d8352cac74c16619ff87caa27afd7bb03a47fb Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Sun, 11 Nov 2018 09:11:33 -0500 Subject: [PATCH] Fix SQL syntax --- includes/server/objects.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/server/objects.php b/includes/server/objects.php index 69cfd5b..c34a8a0 100644 --- a/includes/server/objects.php +++ b/includes/server/objects.php @@ -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);