Browse Source

fix getBalance condition

main
ghost 10 months ago
parent
commit
4194342cd8
  1. 4
      src/Controller/RoomController.php

4
src/Controller/RoomController.php

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

Loading…
Cancel
Save