Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduard Gaynutdinov committed Jul 29, 2023
1 parent d5c23b9 commit bed7b27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Admin/ServerKeysController.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public function edit(int $serverId, int $id, Request $request): Response

$serverKey = new ServerKey();
$serverKey->name = $keyType->getName();
$serverKey->dataLimit = ($keyType->getDataLimit()['bytes'] ?? 0) / 1000;
$serverKey->dataLimit = ($keyType->getDataLimit() ?? 0) / 1000;

$form = $this->createForm(ServerKeyType::class, $serverKey);
$form->handleRequest($request);
Expand Down

0 comments on commit bed7b27

Please sign in to comment.