Merge branch 'develop' of https://github.com/Pterodactyl/Panel into develop
This commit is contained in:
commit
9a57011071
8 changed files with 20 additions and 13 deletions
|
@ -52,7 +52,7 @@ class BackupRemoteUploadController extends Controller
|
|||
public function __invoke(Request $request, string $backup)
|
||||
{
|
||||
// Get the size query parameter.
|
||||
$size = (int)$request->query('size');
|
||||
$size = (int) $request->query('size');
|
||||
if (empty($size)) {
|
||||
throw new BadRequestHttpException('A non-empty "size" query parameter must be provided.');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue