X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Forder_functions.php;h=ef7549cf848bb52a34fe0232f7fa8d59ee9580a7;hp=50cde4274d895000a27798b39e035039b744c8c4;hb=24dfd21baed6a9a112992bdabf7da96576012bc4;hpb=7f104f6fe558bb56b4205241435a2357c2feece1 diff --git a/inc/libs/order_functions.php b/inc/libs/order_functions.php index 50cde4274d..ef7549cf84 100644 --- a/inc/libs/order_functions.php +++ b/inc/libs/order_functions.php @@ -1,7 +1,7 @@ {--ORDER_SELECT_COLUMN_".strtoupper($item)."--}\n"; - } + // Defaul selection + $selected = ''; + if ($item == $default) $selected = ' selected="selected"'; + + // 'ref_clicks' needs to be rewritten to 'referal_clicks' + if ($item == 'ref_clicks') { + $item = 'referal_clicks'; + } // END - if + + // Add option line + $OUT .= ''; + } // END - foreach // Return the output return $OUT; } -// +// [EOF] ?>