Skip to content

Commit

Permalink
Fix template tags not working properly
Browse files Browse the repository at this point in the history
  • Loading branch information
engram-design committed Nov 27, 2018
1 parent f8a3d32 commit c9cd968
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/services/DataTypes.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,8 @@ public function getFeedForTemplate($options = [])
}

$feed = new FeedModel();
$dataType = $this->getRegisteredDataType($type);
$feed->feedUrl = $url;
$feed->feedType = $type;

if ($element) {
$feed->primaryElement = $element;
Expand Down

0 comments on commit c9cd968

Please sign in to comment.