if(empty($ff['DataObjects_Core_templatestr']['tables'][$tn])){
return;
}
- die('b');
$cols = $ff['DataObjects_Core_templatestr']['tables'][$tn];
$used = array();
foreach($cols as $c) {
-
- // skip if empty string
- if(empty($obj->$c)) {
- continue;
- }
if(strpos($c, ',') !== false) {
$arr = explode(',', $c);
}
}
+ // skip if empty string
+ if(empty($obj->$c)) {
+ continue;
+ }
+
$x = $this->factory($this->tableName());
$x->on_id = $obj->pid();
$x->on_table = $tn;