Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Merge branch 'release/2.0.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudloff committed Jun 17, 2019
2 parents b139e6e + e8afbd1 commit 2c3f357
Show file tree
Hide file tree
Showing 4 changed files with 220 additions and 276 deletions.
4 changes: 3 additions & 1 deletion classes/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ private function replaceGenericFormat($oldFormat, $newFormat)
{
$keys = array_keys($this->genericFormats);
$keys[array_search($oldFormat, $keys)] = $newFormat;
$this->genericFormats = array_combine($keys, $this->genericFormats);
if ($genericFormats = array_combine($keys, $this->genericFormats)) {
$this->genericFormats = $genericFormats;
}
}

/**
Expand Down
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,10 @@
"xgettext --omit-header -j -o i18n/template.pot classes/* controllers/*"
],
"youtube-dl": "vendor/rg3/youtube-dl/youtube_dl/__main__.py"
},
"config": {
"platform": {
"php": "7.0.33"
}
}
}
Loading

0 comments on commit 2c3f357

Please sign in to comment.