Skip to content

Commit

Permalink
Assets::$source should never be set
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Jan 23, 2024
1 parent 4df393b commit f5b8b99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fields/Assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ protected function defineRules(): array
];

$rules[] = [
['source', 'sources', 'defaultUploadLocationSource', 'restrictedLocationSource'], 'validateNotTempVolume',
['sources', 'defaultUploadLocationSource', 'restrictedLocationSource'], 'validateNotTempVolume',
];

$rules[] = [['previewMode'], 'in', 'range' => [self::PREVIEW_MODE_FULL, self::PREVIEW_MODE_THUMBS], 'skipOnEmpty' => false];
Expand Down

0 comments on commit f5b8b99

Please sign in to comment.