From 1748296087e7206e188dab9b7e7d36292b192357 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 3 Nov 2010 22:42:07 +0000 Subject: [PATCH] Dirty hack for missing language string (SOME_REF_FOO is no longer valid) --- inc/libs/order_functions.php | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.39.5