projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acd8662
)
Changed I18n.php
author
Alan Knowles
<alan@roojs.com>
Wed, 10 Jun 2020 08:15:34 +0000
(16:15 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 10 Jun 2020 08:15:34 +0000
(16:15 +0800)
I18n.php
patch
|
blob
|
history
diff --git
a/I18n.php
b/I18n.php
index
8367964
..
12ed22d
100644
(file)
--- a/
I18n.php
+++ b/
I18n.php
@@
-231,7
+231,7
@@
class Pman_Core_I18n extends Pman
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)
;
// does it need caching?