Skip to content
This repository has been archived by the owner on Apr 5, 2018. It is now read-only.

Commit

Permalink
Fixed a bug with connecting to categories
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Olde Hampsink committed Dec 11, 2014
1 parent 21bab9c commit fa34eb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/ImportService.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ public function prepForFieldType(&$data, $handle)
foreach($search as $query) {

// Find matching element by URI (dirty, not all categories have URI's)
$criteria->uri = $categoryUrl . $this->slugify($data);;
$criteria->uri = $categoryUrl . $this->slugify($query);

// Add to data
$data = array_merge($data, $criteria->ids());
Expand Down

0 comments on commit fa34eb4

Please sign in to comment.