Skip to content

Commit

Permalink
fix(abstractitiltarget): use_notification is not a bool
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Jul 13, 2022
1 parent 6276402 commit fc7d8a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/abstractitiltarget.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -645,12 +645,12 @@ protected function addActor($role, $user, $notify) {
if ($actorKey === false) {
// Add the actor
$actorType[] = $userId;
$actorTypeNotif['use_notification'][] = ($notify == true);
$actorTypeNotif['use_notification'][] = $notify;
$actorTypeNotif['alternative_email'][] = $alternativeEmail;
} else {
// New actor settings takes precedence
$actorType[$actorKey] = $userId;
$actorTypeNotif['use_notification'][$actorKey] = ($notify == true);
$actorTypeNotif['use_notification'][$actorKey] = $notify;
$actorTypeNotif['alternative_email'][$actorKey] = $alternativeEmail;
}

Expand Down

0 comments on commit fc7d8a2

Please sign in to comment.