]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/order_functions.php
New method generateExtensionInactiveMessage() introduced
[mailer.git] / inc / libs / order_functions.php
index bae9a830512891883af608152fd4a349c9f3f3a5..e839164e538f3412de31a32ebe5fa322936923bf 100644 (file)
@@ -42,15 +42,15 @@ if (!defined('__SECURITY')) {
        require($INC);
 }
 
-function ORDER_SELECT_OPTION_LIST($default) {
+function ORDER_SELECT_OPTION_LIST ($default) {
        // Currenty the list is hardcoded...
-       $LIST = array('userid', "zip", 'country', 'email', "birth_year", "last_online", "ref_clicks", "total_logins", "mail_orders");
+       $LIST = array('userid', 'zip', 'country', 'email', 'birth_year', 'last_online', 'ref_clicks', 'total_logins', 'mail_orders');
        $OUT = '';
        foreach ($LIST as $item) {
                $selected = '';
                if ($item == $default) $selected = ' selected="selected"';
-               $OUT .= "<option value=\"".$item."\"".$selected.">{--ORDER_SELECT_COLUMN_".strtoupper($item)."--}</option>\n";
-       }
+               $OUT .= '<option value="' . $item . '"' . $selected . '>{--ORDER_SELECT_COLUMN_' . strtoupper($item) . '--}</option>';
+       } // END - foreach
 
        // Return the output
        return $OUT;