Skip to content

Commit

Permalink
Avoid notice error
Browse files Browse the repository at this point in the history
  • Loading branch information
hissy committed Jan 16, 2015
1 parent ad62a6d commit c54ed05
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rs-csv-importer.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ public function save_post($post,$meta,$terms,$thumbnail,$is_update) {
}

// Set post tags
$h->setPostTags($post_tags);
if ($post_tags) {
$h->setPostTags($post_tags);
}

// Set meta data
$h->setMeta($meta);
Expand Down

0 comments on commit c54ed05

Please sign in to comment.