diff --git a/app/Http/Controllers/Client/ClientController.php b/app/Http/Controllers/Client/ClientController.php index 44084993..b39fe814 100644 --- a/app/Http/Controllers/Client/ClientController.php +++ b/app/Http/Controllers/Client/ClientController.php @@ -216,6 +216,7 @@ class ClientController extends Controller $config['proxies'] = array_merge($config['proxies'] ? $config['proxies'] : [], $proxy); foreach ($config['proxy-groups'] as $k => $v) { + if (!is_array($config['proxy-groups'][$k]['proxies'])) continue; $config['proxy-groups'][$k]['proxies'] = array_merge($config['proxy-groups'][$k]['proxies'], $proxies); } $yaml = Yaml::dump($config); diff --git a/config/app.php b/config/app.php index 0925b40a..466eb62f 100755 --- a/config/app.php +++ b/config/app.php @@ -236,5 +236,5 @@ return [ | The only modification by laravel config | */ - 'version' => '1.3.2-d.1' + 'version' => '1.3.3' ];