mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 06:53:47 +08:00
Serialise tag IDs to integers rather than strings
This commit is contained in:
parent
822e823936
commit
63a4b34d6e
|
@ -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)];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user