Browse Source

fix getBalance condition

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

4
src/Controller/RoomController.php

@ -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',

Loading…
Cancel
Save