Browse Source

filter ireplace values to string

main
ghost 7 months ago
parent
commit
f17dfa38d5
  1. 6
      src/Server/Ratchet.php

6
src/Server/Ratchet.php

@ -202,14 +202,14 @@ class Ratchet implements MessageComponentInterface @@ -202,14 +202,14 @@ class Ratchet implements MessageComponentInterface
{
// Return success response
$connection->send(
str_replace(
str_ireplace(
[
'{name}',
'{txid}'
],
[
$this->_config->kevacoin->wallet->namespace,
$txid
(string) $this->_config->kevacoin->wallet->namespace,
(string) $txid
],
implode(
PHP_EOL,

Loading…
Cancel
Save