mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-02 14:29:11 +02:00
fix(podcast-import): move closing parenthasis when checking for owner name and email existence
This fixes a bug introduced in 1.10.0, having imports blocked and showing "1" as error.
This commit is contained in:
parent
867dfad9ae
commit
cec78155f9
1 changed files with 2 additions and 2 deletions
|
|
@ -213,13 +213,13 @@ class PodcastImport extends BaseCommand
|
|||
throw new Exception('Missing podcast cover. Please include an <itunes:image> 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 <itunes:name> tag inside the <itunes:owner> 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 <itunes:email> tag inside the <itunes:owner> tag.'
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue