Skip to content

Commit

Permalink
fix: Extension search param support
Browse files Browse the repository at this point in the history
  • Loading branch information
dogukanoksuz committed Feb 23, 2024
1 parent c31e38b commit 53f6ff5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/Http/Controllers/API/Settings/ExtensionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ public function upload()
$list = $this->setupNewExtension($zipFile, $verify);
$error = $list[0];
$new = $list[1];
if (isset($list[2])) $old = $list[2];
else $old = [];
$old = $list[2] ?? [];

if ($error) {
return $error;
Expand Down

0 comments on commit 53f6ff5

Please sign in to comment.