Serialise tag IDs to integers rather than strings

This commit is contained in:
Toby Zerner 2016-05-28 09:54:39 +09:30
parent 822e823936
commit 63a4b34d6e

View File

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