Skip to content

Commit

Permalink
Merge pull request #4 from Rpsl/v2-fixes
Browse files Browse the repository at this point in the history
fix incorrect condition
  • Loading branch information
Rpsl authored Nov 19, 2019
2 parents b69f84b + 642fff2 commit b734277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Soap4me/Downloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ private function filter(): void
$tmpQueue = [];

foreach ($this->queue as $v) {
if (isset($tmpQueue[$v->getShow()][$v->getSeason()][$v->getNumber()])) {
if (!isset($tmpQueue[$v->getShow()][$v->getSeason()][$v->getNumber()])) {
$tmpQueue[$v->getShow()][$v->getSeason()][$v->getNumber()] = $v;
} else {
/** @var Episode $existing */
Expand Down

0 comments on commit b734277

Please sign in to comment.