fix action description in privacy events logs

This commit is contained in:
Julien Fastré 2018-10-19 12:40:12 +02:00
parent b6ab04f3e3
commit 5eff3f33d8

View File

@ -266,7 +266,7 @@ class ActivityController extends Controller
$event = new PrivacyEvent($person, array(
'element_class' => Activity::class,
'element_id' => $entity->getId(),
'action' => 'show'
'action' => 'edit'
));
$this->eventDispatcher->dispatch(PrivacyEvent::PERSON_PRIVACY_EVENT, $event);