Commit d8f80c40 by Denis Chenu

[fix] Bad testing for invite/reminder by survey

parent 47667946
......@@ -533,7 +533,7 @@ class sendMailCron extends PluginBase
foreach ($oTokens as $iToken)
{
/* Test actual sended */
if($this->stopSendMailAction($aCountMail,$sType,$iSurvey)){
if($this->stopSendMailAction($aCountMail,$iSurvey,$sType)){
return;
}
$oToken=TokenDynamic::model($iSurvey)->findByPk($iToken->tid);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment