From f9d528c0df0e51a80b57b503e62330e2d5e471ad Mon Sep 17 00:00:00 2001 From: azammitdcarf Date: Tue, 23 Feb 2010 01:21:21 +0000 Subject: [PATCH] Token should insert to the default locale --- functions/functions.operator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/functions.operator.php b/functions/functions.operator.php index 11137898..42fce1ff 100644 --- a/functions/functions.operator.php +++ b/functions/functions.operator.php @@ -465,7 +465,7 @@ function get_case_id($operator_id, $create = false) if ($lime_sid) { $sql = "INSERT INTO ".LIME_PREFIX."tokens_$lime_sid (tid,firstname,lastname,email,token,language,sent,completed,mpid) - VALUES (NULL,'','','',$case_id,'en','N','N',NULL)"; + VALUES (NULL,'','','',$case_id,'".DEFAULT_LOCALE."','N','N',NULL)"; $db->Execute($sql); }