projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a59e129
)
Pman/I18N.php
author
Alan Knowles
<alan@akbkhome.com>
Wed, 9 Mar 2011 08:58:59 +0000
(16:58 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 9 Mar 2011 08:58:59 +0000
(16:58 +0800)
Pman/I18N.php
patch
|
blob
|
history
diff --git
a/Pman/I18N.php
b/Pman/I18N.php
index
39ceee4
..
dee3df6
100644
(file)
--- a/
Pman/I18N.php
+++ b/
Pman/I18N.php
@@
-276,7
+276,7
@@
class Pman_I18N extends Pman_Core_I18n
if (empty($k)) {
return '??';
}
- $lang = !$au || empty($au->lang ) ? 'en' :
is_string($au) ? $au : $au->lang
;
+ $lang = !$au || empty($au->lang ) ? 'en' :
(is_string($au) ? $au : $au->lang)
;
$lbits = explode('_', strtoupper($lang));
$lang = $lbits[0];