Commit 28baa61e authored by Romain Therville's avatar Romain Therville 🐭

A warning has been updated to:"Be aware that every manager associated

with this project received this email, please send only one answer per
purge alert number."

issue#127
parent 4e5c794e
......@@ -127,7 +127,7 @@ class tx_nG6_pi6 extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
$purge_user_id_to=Array();
if ( count( $users_emails['manager']) >= 1 ) {
if ( count( $users_emails['manager']) > 1 ) {
$email_warn="Be aware that this project is associated to several managers (all received this email), please send only one answer per purge alert number.\n";
$email_warn="Be aware that every manager associated with this project received this email, please send only one answer per purge alert number.\n";
}
$users_emails_to = array_merge($users_emails['administrator'],$users_emails['manager'],$users_emails['member']);
$purge_user_id_to = array_merge($users_id['administrator'],$users_id['manager'],$users_id['member']);
......
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 to comment