projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
810c78c
)
DataObjects/I18n.php
author
Alan Knowles
<alan@roojs.com>
Wed, 14 Dec 2011 05:58:32 +0000
(13:58 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 14 Dec 2011 05:58:32 +0000
(13:58 +0800)
DataObjects/I18n.php
patch
|
blob
|
history
diff --git
a/DataObjects/I18n.php
b/DataObjects/I18n.php
index
75c624b
..
713517c
100644
(file)
--- a/
DataObjects/I18n.php
+++ b/
DataObjects/I18n.php
@@
-198,7
+198,7
@@
class Pman_Core_DataObjects_I18n extends DB_DataObject
function buildDB($ltype= false, $inlang= false )
{
- $this->cfg();
+ $
cfg = $
this->cfg();
if ($ltype === false) {
// trigger all builds.
//DB_DataObject::debugLevel(1);
@@
-217,7
+217,7
@@
class Pman_Core_DataObjects_I18n extends DB_DataObject
// We only build translatiosn for our configured ones..
//foreach( $this->availableCodes('l') as $l) {
- foreach(
self::
$cfg['t'] as $l) {
+ foreach( $cfg['t'] as $l) {
$this->buildDB($ltype, $l);
}
return;