summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-13 04:02:41 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-13 04:02:41 +0000
commit1341d13ca50d109284cea837de6d1e68e01ede55 (patch)
tree4163376d8c69050141074d7a62baa84cf888264c
parent174ea7cc9adf4c482a7881d1701131a4d5a3f7df (diff)
Reverse the last change; forgot that {$key} is treated specially
inside a string. We could do "{{{$key}}}" but that's misleading.
-rw-r--r--core/libraries/I18n.php2
1 files changed, 1 insertions, 1 deletions
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);
}