projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c523a06
)
Translations.php
author
Alan Knowles
<alan@roojs.com>
Fri, 16 Aug 2013 05:50:28 +0000
(13:50 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 16 Aug 2013 05:50:28 +0000
(13:50 +0800)
Translations.php
patch
|
blob
|
history
diff --git
a/Translations.php
b/Translations.php
index
be3dec9
..
f41922f
100644
(file)
--- a/
Translations.php
+++ b/
Translations.php
@@
-209,7
+209,7
@@
class Pman_Admin_Translations extends Pman
$d = DB_DataObject::factory('translations');
$d->module = $module;
$d->tlang = $lang;
-
+ $d->whereAdd('LENGTH(tval) > 0');
$ret = array();
if ($d->count()) {
@@
-240,6
+240,7
@@
class Pman_Admin_Translations extends Pman
if (!isset($this->originalKeys[$k])) {
continue;
}
+
// it's current..
$this->saveTranslateDB($lang, $module, $this->originalKeys[$k], $k, $v);
$ret[$k] = $v;