Skip to content
GitLab
About GitLab
GitLab: the DevOps platform
Explore GitLab
Install GitLab
How GitLab compares
Get started
GitLab docs
GitLab Learn
Pricing
Talk to an expert
/
Help
What's new
2
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Projects
Groups
Snippets
Register
Sign in
Toggle navigation
Menu
Open sidebar
SondagesPro
mailing
sendMailCron
Commits
0e8488db
Commit
0e8488db
authored
Oct 18, 2022
by
Chenu Denis
Browse files
[fix] Invalid email (for PHP) broke with warning
parent
031e3201
Changes
2
Hide whitespace changes
Inline
Side-by-side
config.xml
View file @
0e8488db
...
...
@@ -7,7 +7,7 @@
<lastUpdate>
2020-09-22
</lastUpdate>
<author>
Denis Chenu
</author>
<authorUrl>
https://www.sondages.pro
</authorUrl>
<version>
4.3.
0
</version>
<version>
4.3.
1
</version>
<license>
GNU Affero General Public License
</license>
<description>
<![CDATA[Allow to send token email by cron or sheduled task.]]>
</description>
</metadata>
...
...
sendMailCron.php
View file @
0e8488db
...
...
@@ -10,7 +10,7 @@
* @copyright 2016-2018 Extract Recherche Marketing <https://dialogs.ca>
* @license AGPL v3
*
* @version 4.3.
0
* @version 4.3.
1
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
...
...
@@ -944,9 +944,12 @@ class sendMailCron extends PluginBase
],
'tid=:tid'
,
[
':tid'
=>
$
i
Token
->
tid
,
':tid'
=>
$
o
Token
->
tid
,
]
);
$oCriteria
=
clone
$baseCriteria
;
$oCriteria
->
compare
(
'tid'
,
">
{
$oToken
->
tid
}
"
);
$oToken
=
Token
::
model
(
$iSurvey
)
->
find
(
$oCriteria
);
continue
;
}
$mail
=
\
LimeMailer
::
getInstance
();
...
...
Chenu Denis
@Sondages.Pro
mentioned in issue
#10 (closed)
·
Oct 18, 2022
mentioned in issue
#10 (closed)
mentioned in issue #10
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment