diff --git a/modules/PodcastImport/Commands/PodcastImport.php b/modules/PodcastImport/Commands/PodcastImport.php index 84db1f25..1e5133ee 100644 --- a/modules/PodcastImport/Commands/PodcastImport.php +++ b/modules/PodcastImport/Commands/PodcastImport.php @@ -213,13 +213,13 @@ class PodcastImport extends BaseCommand throw new Exception('Missing podcast cover. Please include an tag.'); } - if (($ownerName = $this->podcastFeed->channel->itunes_owner->itunes_name->getValue() === null)) { + if (($ownerName = $this->podcastFeed->channel->itunes_owner->itunes_name->getValue()) === null) { throw new Exception( 'Missing podcast owner name. Please include an tag inside the tag.' ); } - if (($ownerEmail = $this->podcastFeed->channel->itunes_owner->itunes_email->getValue() === null)) { + if (($ownerEmail = $this->podcastFeed->channel->itunes_owner->itunes_email->getValue()) === null) { throw new Exception( 'Missing podcast owner email. Please include an tag inside the tag.' );