projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17480c4
)
DataObjects/Core_templatestr.php
author
leon
<leon@roojs.com>
Wed, 2 Aug 2023 04:46:08 +0000
(12:46 +0800)
committer
leon
<leon@roojs.com>
Wed, 2 Aug 2023 04:46:08 +0000
(12:46 +0800)
DataObjects/Core_templatestr.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_templatestr.php
b/DataObjects/Core_templatestr.php
index
989f361
..
7d5c4d8
100644
(file)
--- a/
DataObjects/Core_templatestr.php
+++ b/
DataObjects/Core_templatestr.php
@@
-110,8
+110,10
@@
class Pman_Core_DataObjects_Core_templatestr extends DB_DataObject
}
continue; // update an no change..
}
- if(empty($x->txt)) {
+ // skip emtpy words
+ if(empty($obj->c)) {
+ continue;
}
$x->active = 1;
$x->src_id = 0;