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