Bug #25329 ยป bug_17954.diff
typo3_src.new/typo3/sysext/sys_action/task/class.tx_sysaction_task.php 2011-03-04 14:46:53.000000000 -0500 | ||
---|---|---|
foreach($grList as $group) {
|
||
$checkGroup = t3lib_BEfunc::getRecord('be_groups', $group);
|
||
if (is_array($checkGroup)) {
|
||
$selected = (is_array($vars['usergroup']) && t3lib_div::inList(implode(',', $vars['usergroup']), $checkGroup['uid'])) ? ' selected="selected" ' : '';
|
||
$vars['usergroup'] = is_array($vars['usergroup']) ? implode(',', $vars['usergroup']) : $vars['usergroup'];
|
||
$selected = t3lib_div::inList($vars['usergroup'], $checkGroup['uid']) ? ' selected="selected" ' : '';
|
||
$content .= '<option ' . $selected . 'value="' . $checkGroup['uid'] . '">' . htmlspecialchars($checkGroup['title']) . '</option>';
|
||
}
|
||
}
|