projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93902a0
)
DataObjects/I18n.php
author
Alan Knowles
<alan@roojs.com>
Tue, 26 Feb 2013 03:34:37 +0000
(11:34 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 26 Feb 2013 03:34:37 +0000
(11:34 +0800)
DataObjects/I18n.php
patch
|
blob
|
history
diff --git
a/DataObjects/I18n.php
b/DataObjects/I18n.php
index
4907d6b
..
dc4ae3b
100644
(file)
--- a/
DataObjects/I18n.php
+++ b/
DataObjects/I18n.php
@@
-192,7
+192,8
@@
class Pman_Core_DataObjects_I18n extends DB_DataObject
$tolang[0] = strtolower($tolang[0]);
$tolang = implode('_', $tolang);
- unset($cfg['add_l'][$k]);
+ unset($cfg['add_l'][$k]); // if they match..unset first.. then set
+
$cfg['add_l'][$tolang] = $v;
}
if (!empty($cfg['add_l'])) {