Skip to content
Permalink
Browse files

플러그인 낱개로 업데이트시 에러가 발생하는 부분 수정

  • Loading branch information...
woongbin authored and jhyeon1010 committed Aug 23, 2019
1 parent 54305a2 commit b6cdd820aab3cb3cf10aeb05a68ec4a93f1d9420
Showing with 3 additions and 2 deletions.
  1. +3 −2 app/Http/Controllers/Plugin/PluginManageController.php
@@ -299,9 +299,10 @@ public function download(Request $request, Operator $operator, PluginHandler $ha
throw new HttpException(422, xe_trans('xe::alreadyProceeding'));
}
$plugins = $request->get('plugin');
$data = $request->get('plugin');
$plugins = [];
foreach ($plugins as $id => $info) {
foreach ($data as $id => $info) {
if (array_get($info, 'update', false)) {
if (!$handler->getPlugin($id)) {
return back()->with('alert', [

0 comments on commit b6cdd82

Please sign in to comment.
You can’t perform that action at this time.