Changeset 1185:ebbe7458e43a
- Timestamp:
- 07/14/13 21:07:22 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/importExport/inc/class.dc.import.wp.php
r840 r1185 671 671 $this->importTags($rs->ID,$cur->post_id,$db); 672 672 673 if (!$old_cat_ids->isEmpty() && $this->vars['cat_as_tags']) 674 { 675 $old_cat_ids->moveStart(); 676 while ($old_cat_ids->fetch()) { 677 $this->core->meta->setPostMeta($cur->post_id,'tag',$this->cleanStr($this->vars['cat_tags_prefix'].$old_cat_ids->name)); 673 if (isset($old_cat_ids)) 674 { 675 if (!$old_cat_ids->isEmpty() && $this->vars['cat_as_tags']) 676 { 677 $old_cat_ids->moveStart(); 678 while ($old_cat_ids->fetch()) { 679 $this->core->meta->setPostMeta($cur->post_id,'tag',$this->cleanStr($this->vars['cat_tags_prefix'].$old_cat_ids->name)); 680 } 678 681 } 679 682 }
Note: See TracChangeset
for help on using the changeset viewer.