Skip to content

Instantly share code, notes, and snippets.

@betweenbrain
Created October 8, 2013 17:22
Show Gist options
  • Select an option

  • Save betweenbrain/6888212 to your computer and use it in GitHub Desktop.

Select an option

Save betweenbrain/6888212 to your computer and use it in GitHub Desktop.
FeedGator Multiple Category Import Fix
// Replaces /administrator/components/com_feedgator/helpers/feedgator.helper.php:303-308
if ($fgParams->get('save_feed_cats')) {
if ($categories = $item->get_categories()) {
foreach ($categories as $category) {
$metakey[] = $category->get_label();
}
}
$content['metakey'] .= implode(', ', $metakey);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment