Skip to content

Commit

Permalink
Merge pull request #1382 from craftcms/bugfix/1380-feed-settings-over…
Browse files Browse the repository at this point in the history
…rides

allow to override to `false` value
  • Loading branch information
angrybrad authored Nov 25, 2023
2 parents 62918d8 + 6ef4a31 commit 2bea29f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/Feeds.php
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ private function _createModelFromRecord(FeedRecord $record = null)
foreach ($attributes as $attribute => $value) {
$override = $this->getModelOverrides($attribute, $record['id']);

if ($override) {
if ($override !== null) {
$attributes[$attribute] = $override;
}
}
Expand Down

0 comments on commit 2bea29f

Please sign in to comment.