DataObjects/Core_templatestr.php
[Pman.Core] / DataObjects / Core_templatestr.php
index 989f361..7d5c4d8 100644 (file)
@@ -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;