Sfoglia il codice sorgente

Merge tag 'hotfix_1411' into develop

hotfix_1411
feature/souke
Guillaume Bourgeois 1 anno fa
parent
commit
678013e7ae
2 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  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 Vedi 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 Vedi 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…
Annulla
Salva