修复扩展参数extra_options错误

This commit is contained in:
iyuu.cn 2020-02-20 16:13:04 +08:00
parent 53533df4b9
commit 1355398f76

View File

@ -591,12 +591,11 @@ class AutoReseed
// 目标下载器类型
$rpcKey = self::$move[0];
$type = self::$links[$rpcKey]['type'];
$extra_options = array();
if ($type == 'qBittorrent') {
if (isset($configALL['default']['move']['skip_check']) && $configALL['default']['move']['skip_check'] === 1) {
$extra_options['skip_checking'] = "true"; //转移成功,跳校验
}
} else {
$extra_options = array();
}
// 添加转移任务成功返回true
$ret = self::add(self::$move[0], $torrent, $downloadDir, $extra_options);