projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc15adc
)
Translation2/Container.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 16 Nov 2010 04:12:55 +0000
(12:12 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 16 Nov 2010 04:12:55 +0000
(12:12 +0800)
Translation2/Container.php
patch
|
blob
|
history
diff --git
a/Translation2/Container.php
b/Translation2/Container.php
index
782dc7c
..
fa07d58
100644
(file)
--- a/
Translation2/Container.php
+++ b/
Translation2/Container.php
@@
-123,7
+123,7
@@
class Translation2_Container
if (!empty($langID) || (0 === $langID)) {
\r
return $langID;
\r
}
\r
- if (!empty($this->currentLang['id']) || (0 === $this->currentLang['id'])) {
\r
+ if (!empty($this->currentLang['id']) || (
isset($this->currentLang['id']) &&
0 === $this->currentLang['id'])) {
\r
return $this->currentLang['id'];
\r
}
\r
$msg = 'No valid language set. Use Translation2::setLang().';
\r