Skip to content

Commit

Permalink
fix: Typo in ActivityManager function
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
  • Loading branch information
susnux committed Oct 6, 2023
1 parent 3554e47 commit e41a71d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Activity/ActivityManager.php
Expand Up @@ -109,16 +109,16 @@ public function publishNewGroupShare(Form $form, string $groupId) {
/**
* Publish a new-Submission Activity
* @param Form $form The affected Form
* @param string $submittorId ID of the User who submitted the form. Can also be our 'anon-user-'-ID
* @param string $submitterID ID of the User who submitted the form. Can also be our 'anon-user-'-ID
*/
public function publishNewSubmission(Form $form, string $submittorId) {
public function publishNewSubmission(Form $form, string $submitterID) {
$event = $this->manager->generateEvent();
$event->setApp($this->appName)
->setType(ActivityConstants::TYPE_NEWSUBMISSION)
->setAffectedUser($form->getOwnerId())
->setAuthor($submittorId)
->setAuthor($submitterID)
->setSubject(ActivityConstants::SUBJECT_NEWSUBMISSION, [
'userId' => $submittorId,
'userId' => $submitterID,
'formTitle' => $form->getTitle(),
'formHash' => $form->getHash()
])
Expand Down

0 comments on commit e41a71d

Please sign in to comment.