Browse Source

Merge branch 'hotfix/hotfix_1411'

master
Guillaume Bourgeois 1 year ago
parent
commit
35077d03e4
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      common/logic/Document/Document/Service/DocumentManager.php
  2. +2
    -2
      common/logic/User/UserProducer/Service/UserProducerBuilder.php

+ 2
- 2
common/logic/Document/Document/Service/DocumentManager.php View File



$email = \Yii::$app->mailer->compose( $email = \Yii::$app->mailer->compose(
[ [
'html' => 'sendDocument-html',
'text' => 'sendDocument-text'
'html' => '@common/mail/sendDocument-html',
'text' => '@common/mail/sendDocument-text'
], [ ], [
'document' => $document 'document' => $document
]) ])

+ 2
- 2
common/logic/User/UserProducer/Service/UserProducerBuilder.php View File

if($user && $user->email && strlen($user->email) > 0) { if($user && $user->email && strlen($user->email) > 0) {
\Yii::$app->mailer->compose( \Yii::$app->mailer->compose(
[ [
'html' => 'creditLimitReminder-html',
'text' => 'creditLimitReminder-text'
'html' => '@common/mail/creditLimitReminder-html',
'text' => '@common/mail/creditLimitReminder-text'
], ],
[ [
'user' => $user, 'user' => $user,

Loading…
Cancel
Save