|
@@ -292,7 +292,7 @@ function _materio_admin_batch_fixterm_ref_op($nid, $src_tid, $target_field){
|
|
}
|
|
}
|
|
if(!in_array($src_tid, $flat_items)){
|
|
if(!in_array($src_tid, $flat_items)){
|
|
// $items[] = array('tid'=>$src_tid);
|
|
// $items[] = array('tid'=>$src_tid);
|
|
- $node->$target_field[LANGUAGE_NONE][] = array('tid'=>$src_tid);
|
|
|
|
|
|
+ $node->{$target_field}[LANGUAGE_NONE][] = array('tid'=>$src_tid);
|
|
}
|
|
}
|
|
|
|
|
|
// $items = array(LANGUAGE_NONE => array());
|
|
// $items = array(LANGUAGE_NONE => array());
|