From 63a4b34d6e7b3ef1b0e04de053bdbcbfdc1fd905 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Sat, 28 May 2016 09:54:39 +0930 Subject: [PATCH] Serialise tag IDs to integers rather than strings --- extensions/tags/src/Post/DiscussionTaggedPost.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/tags/src/Post/DiscussionTaggedPost.php b/extensions/tags/src/Post/DiscussionTaggedPost.php index 583b716e9..62e365bf6 100755 --- a/extensions/tags/src/Post/DiscussionTaggedPost.php +++ b/extensions/tags/src/Post/DiscussionTaggedPost.php @@ -79,6 +79,6 @@ class DiscussionTaggedPost extends AbstractEventPost implements MergeableInterfa */ public static function buildContent(array $oldTagIds, array $newTagIds) { - return [$oldTagIds, $newTagIds]; + return [array_map('intval', $oldTagIds), array_map('intval', $newTagIds)]; } }