From 174ea7cc9adf4c482a7881d1701131a4d5a3f7df Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 13 Jan 2009 03:53:31 +0000 Subject: Use variable interpolation to reduce code size --- 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 2007bb07..38b036cb 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