mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
Fix type error in settings
This commit is contained in:
parent
155f4821fd
commit
d1b878a5a4
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ final class UserPresenter extends OpenVKPresenter
|
||||||
|
|
||||||
if($this->template->mode == "finance") {
|
if($this->template->mode == "finance") {
|
||||||
$address = OPENVK_ROOT_CONF["openvk"]["preferences"]["ton"]["address"];
|
$address = OPENVK_ROOT_CONF["openvk"]["preferences"]["ton"]["address"];
|
||||||
$text = str_replace("$1", $this->user->identity->getId(), OPENVK_ROOT_CONF["openvk"]["preferences"]["ton"]["hint"]);
|
$text = str_replace("$1", (string) $this->user->identity->getId(), OPENVK_ROOT_CONF["openvk"]["preferences"]["ton"]["hint"]);
|
||||||
$qrCode = explode("base64,", (new QRCode(new QROptions([
|
$qrCode = explode("base64,", (new QRCode(new QROptions([
|
||||||
"imageTransparent" => false
|
"imageTransparent" => false
|
||||||
])))->render("ton://transfer/$address?text=$text"));
|
])))->render("ton://transfer/$address?text=$text"));
|
||||||
|
|
Loading…
Reference in a new issue