$SEL = countPostSelection();
if ($SEL > 0) {
// Add option for events
- $GLOBALS['cache_array']['admins'] = generateOptionList('admins', 'id', "login", '', 'email');
+ $GLOBALS['cache_array']['admins'] = generateOptionList('admins', 'id', 'login', '', 'email');
$SW = 2; $rowNameS = '';
foreach (REQUEST_POST('sel') as $template => $sel) {
// First of all load data from DB
if ($content['admin_id'] == '-1') $OUT .= ' selected="selected"';
$OUT .= ">{--ADMINS_TO_USER_EVENTS--}</option>\n";
}
- $OUT .= generateOptionList('admins', 'id', "login", $content['admin_id'], 'email');
+ $OUT .= generateOptionList('admins', 'id', 'login', $content['admin_id'], 'email');
$OUT .= "</select>\n<br />\n";
$aid2 = $content['admin_id']; $id2 = $content['id'];
}