1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-22 00:52:43 +01:00

Merge branch '1.0-develop' into develop

This commit is contained in:
Matthew Penner 2022-12-14 14:21:01 -07:00
commit 7fde336036
No known key found for this signature in database

View File

@ -35,7 +35,7 @@ class SettingsController extends ClientApiController
public function rename(RenameServerRequest $request, Server $server): JsonResponse
{
$name = $request->input('name');
$description = $request->input('description') ?? '';
$description = $request->input('description') ?? $server->description;
$this->repository->update($server->id, [
'name' => $name,
'description' => $description,