From: Roland Häder Date: Wed, 3 Nov 2010 22:42:07 +0000 (+0000) Subject: Dirty hack for missing language string (SOME_REF_FOO is no longer valid) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1748296087e7206e188dab9b7e7d36292b192357;p=mailer.git Dirty hack for missing language string (SOME_REF_FOO is no longer valid) --- diff --git a/inc/libs/order_functions.php b/inc/libs/order_functions.php index 121265189d..56f2b34ce7 100644 --- a/inc/libs/order_functions.php +++ b/inc/libs/order_functions.php @@ -46,8 +46,16 @@ function addOrderSelectionOptions ($default) { $LIST = array('userid', 'zip', 'country', 'email', 'birth_year', 'last_online', 'ref_clicks', 'total_logins', 'mail_orders'); $OUT = ''; foreach ($LIST as $item) { + // 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