X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Forder_functions.php;h=e839164e538f3412de31a32ebe5fa322936923bf;hb=ccc4a69ce9b17aa8d7b1554a3b2b017db091821b;hp=63283118a674e1467d6e0e004a47384b5dd5ca5e;hpb=f97a999e0737c0007ae9c3c26dfef49f75a175ac;p=mailer.git diff --git a/inc/libs/order_functions.php b/inc/libs/order_functions.php index 63283118a6..e839164e53 100644 --- a/inc/libs/order_functions.php +++ b/inc/libs/order_functions.php @@ -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 .= "\n"; - } + if ($item == $default) $selected = ' selected="selected"'; + $OUT .= ''; + } // END - foreach // Return the output return $OUT;