'what','action','module' and 'output_mode' wrapped into functions (WARNUNG: Code...
[mailer.git] / inc / modules / admin / what-admins_mails.php
index a004f02bf099fc905dd0aa66bdbb87eee81e23a5..b8b0e4c51a7ff1cfbb4b2486442e548bc4eca8d0 100644 (file)
@@ -50,7 +50,7 @@ if (REQUEST_ISSET_POST('edit')) {
        $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
@@ -68,7 +68,7 @@ if (REQUEST_ISSET_POST('edit')) {
                                        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'];
                        }