Properly cast

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2018-02-21 22:45:28 +01:00
parent 8e5657014d
commit 096ea2c390
No known key found for this signature in database
GPG key ID: F941078878347C0C

View file

@ -110,7 +110,7 @@ class Listener {
$activity->setApp('systemtags')
->setType('systemtags')
->setAuthor($actor)
->setObject('systemtag', $tag->getId(), $tag->getName());
->setObject('systemtag', (int)$tag->getId(), $tag->getName());
if ($event->getEvent() === ManagerEvent::EVENT_CREATE) {
$activity->setSubject(Provider::CREATE_TAG, [
$actor,