X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Forder_functions.php;h=ef7549cf848bb52a34fe0232f7fa8d59ee9580a7;hp=16cbb4ed7a2669e1383e35cb6fc78d0c9462aa3a;hb=24dfd21baed6a9a112992bdabf7da96576012bc4;hpb=508228c85fba8448d00865b1639cb8cd7a69e457 diff --git a/inc/libs/order_functions.php b/inc/libs/order_functions.php index 16cbb4ed7a..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] ?>