projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8273680
)
DataObjects/Core_templatestr.php
author
leon
<leon@roojs.com>
Wed, 2 Aug 2023 04:45:54 +0000
(12:45 +0800)
committer
leon
<leon@roojs.com>
Wed, 2 Aug 2023 04:45:54 +0000
(12:45 +0800)
DataObjects/Core_templatestr.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_templatestr.php
b/DataObjects/Core_templatestr.php
index
957f173
..
989f361
100644
(file)
--- a/
DataObjects/Core_templatestr.php
+++ b/
DataObjects/Core_templatestr.php
@@
-105,10
+105,13
@@
class Pman_Core_DataObjects_Core_templatestr extends DB_DataObject
$x->lang = ''; /// eg. base language..
$up = $x->find(true);
if ($up && $x->txt == $obj->$c) {
- if(empty($
x->txt
)) {
+ if(empty($
obj->c
)) {
$deactive[] = $x->id;
}
continue; // update an no change..
+ }
+ if(empty($x->txt)) {
+
}
$x->active = 1;
$x->src_id = 0;