Skip to content

Commit

Permalink
Merge branch 'multisite-taxonomies' of github.com:statamic/importer i…
Browse files Browse the repository at this point in the history
…nto multisite-taxonomies
  • Loading branch information
duncanmcclean committed Dec 19, 2024
2 parents cde59f6 + a5c39ac commit 52b7543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jobs/ImportItemJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ protected function findOrCreateTerm(array $data): void
{
$term = Term::query()
->where('taxonomy', $this->import->get('destination.taxonomy'))
->where('id', $this->import->get('destination.taxonomy') . '::' . Arr::get($data, 'default_slug', $data['slug']))
->where('id', $this->import->get('destination.taxonomy').'::'.Arr::get($data, 'default_slug', $data['slug']))
->first()
?->term();

Expand Down

0 comments on commit 52b7543

Please sign in to comment.