projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83469e0
)
DataObjects/Core_templatestr.php
author
leon
<leon@roojs.com>
Wed, 2 Aug 2023 04:46:32 +0000
(12:46 +0800)
committer
leon
<leon@roojs.com>
Wed, 2 Aug 2023 04:46:32 +0000
(12:46 +0800)
DataObjects/Core_templatestr.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_templatestr.php
b/DataObjects/Core_templatestr.php
index
7d5c4d8
..
76ad321
100644
(file)
--- a/
DataObjects/Core_templatestr.php
+++ b/
DataObjects/Core_templatestr.php
@@
-105,13
+105,15
@@
class Pman_Core_DataObjects_Core_templatestr extends DB_DataObject
$x->lang = ''; /// eg. base language..
$up = $x->find(true);
if ($up && $x->txt == $obj->$c) {
+
+ // deactive empty words
if(empty($obj->c)) {
$deactive[] = $x->id;
}
continue; // update an no change..
}
- // skip em
tp
y words
+ // skip em
pt
y words
if(empty($obj->c)) {
continue;
}