Project

General

Profile

Bug #20557 » 0011255_notification-emails-to-groups.diff

Administrator Admin, 2009-08-01 11:57

View differences:

t3lib/class.t3lib_tcemain.php
} else {
list($table,$id) = t3lib_div::revExplode('_',$userIdent,2);
}
if ($table==='be_users' || $noTablePrefix) {
if ($table === 'be_groups') {
if ($userRecords = t3lib_BEfunc::getRecordsByField('be_users', 'usergroup', $id)) {
foreach ($userRecords as $user) {
$emails[$id] = $user['email'];
}
}
} elseif ($table==='be_users' || $noTablePrefix) {
if ($userRecord = t3lib_BEfunc::getRecord('be_users', $id, 'email')) {
if (strlen(trim($userRecord['email']))) {
$emails[$id] = $userRecord['email'];
(2-2/2)