Browse Source

remove extra rule

main
ghost 9 months ago
parent
commit
c3cd11366a
  1. 4
      src/Controller/RoomController.php
  2. 2
      src/Controller/UserController.php

4
src/Controller/RoomController.php

@ -630,7 +630,7 @@ class RoomController extends AbstractController @@ -630,7 +630,7 @@ class RoomController extends AbstractController
}
// Post has commission cost, send message to pending payment pool
if ($this->getParameter('app.add.post.cost.kva') > 0)
if ($this->getParameter('app.add.post.cost.kva'))
{
$time = time();
@ -965,7 +965,7 @@ class RoomController extends AbstractController @@ -965,7 +965,7 @@ class RoomController extends AbstractController
}
// Room registration has commission cost, send to pending payment pool
if ($this->getParameter('app.add.room.cost.kva') > 0)
if ($this->getParameter('app.add.room.cost.kva'))
{
if ($address = $client->getNewAddress())
{

2
src/Controller/UserController.php

@ -504,7 +504,7 @@ class UserController extends AbstractController @@ -504,7 +504,7 @@ class UserController extends AbstractController
}
// User registration has commission cost, send message to pending payment pool
if ($this->getParameter('app.add.user.cost.kva') > 0)
if ($this->getParameter('app.add.user.cost.kva'))
{
if ($address = $client->getNewAddress())
{

Loading…
Cancel
Save