privacyEvent, add event in timeline

This commit is contained in:
Mat
2018-10-16 12:03:54 +02:00
parent f5baeaa06c
commit 4c8f170025
3 changed files with 28 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ class PrivacyEvent extends Event
* @param object $element
* @param array $args
*/
public function __construct(Person $person, object $element = null, array $args)
public function __construct(Person $person, object $element = null, array $args = array('action' => 'show'))
{
$this->person = $person;
$this->element = $element;