From 1341d13ca50d109284cea837de6d1e68e01ede55 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 13 Jan 2009 04:02:41 +0000 Subject: Reverse the last change; forgot that {$key} is treated specially inside a string. We could do "{{{$key}}}" but that's misleading. --- core/libraries/I18n.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/libraries/I18n.php b/core/libraries/I18n.php index 38b036cb..2007bb07 100644 --- a/core/libraries/I18n.php +++ b/core/libraries/I18n.php @@ -98,7 +98,7 @@ class I18n_Core { // TODO: Handle locale specific number formatting. $keys = array(); foreach (array_keys($values) as $key) { - $keys[] = "{{$key}}"; + $keys[] = "{{" . $key . "}}"; } return str_replace($keys, array_values($values), $string); } -- cgit v1.2.3