fix getBalance condition

This commit is contained in:
ghost 2024-02-18 00:09:24 +02:00
parent 0d513a30ca
commit 4194342cd8

View File

@ -588,7 +588,7 @@ class RoomController extends AbstractController
} }
/// Validate funds available yet /// Validate funds available yet
if ($client->getBalance()) if (!$client->getBalance())
{ {
return $this->redirectToRoute( return $this->redirectToRoute(
'room_namespace', 'room_namespace',
@ -949,7 +949,7 @@ class RoomController extends AbstractController
} }
// Validate funds available yet // Validate funds available yet
if ($client->getBalance()) if (!$client->getBalance())
{ {
return $this->redirectToRoute( return $this->redirectToRoute(
'room_list', 'room_list',