mirror of
https://github.com/flarum/core.git
synced 2025-08-17 22:01:44 +02:00
Serialise tag IDs to integers rather than strings
This commit is contained in:
@@ -79,6 +79,6 @@ class DiscussionTaggedPost extends AbstractEventPost implements MergeableInterfa
|
|||||||
*/
|
*/
|
||||||
public static function buildContent(array $oldTagIds, array $newTagIds)
|
public static function buildContent(array $oldTagIds, array $newTagIds)
|
||||||
{
|
{
|
||||||
return [$oldTagIds, $newTagIds];
|
return [array_map('intval', $oldTagIds), array_map('intval', $newTagIds)];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user