From 1355398f7650450db69ccb15332602db9a7d4667 Mon Sep 17 00:00:00 2001 From: "iyuu.cn" <367013672@qq.com> Date: Thu, 20 Feb 2020 16:13:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=A9=E5=B1=95=E5=8F=82?= =?UTF-8?q?=E6=95=B0extra=5Foptions=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/AutoReseed.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/AutoReseed.php b/app/AutoReseed.php index b50ad7a..a5323c3 100644 --- a/app/AutoReseed.php +++ b/app/AutoReseed.php @@ -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);