mirror of
https://github.com/kevachat/webapp.git
synced 2025-01-22 20:44:59 +00:00
fix getBalance condition
This commit is contained in:
parent
0d513a30ca
commit
4194342cd8
@ -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…
x
Reference in New Issue
Block a user