Properly cast
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
8e5657014d
commit
096ea2c390
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue