Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienClairembault authored and trasher committed Aug 25, 2023
1 parent 6871790 commit 404707b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NotificationTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ public function getDataToSend(NotificationTarget $target, $tid, $to, array $user
$mailing_options['items_id'] = method_exists($target->obj, "getField")
? $target->obj->getField('id')
: 0;
if (property_exists($target, 'documents') && isset($target->obj->documents)) {
if (property_exists($target->obj, 'documents') && isset($target->obj->documents)) {
$mailing_options['documents'] = $target->obj->documents;
}

Expand Down

0 comments on commit 404707b

Please sign in to comment.