From 1b436f9535fb2cd653560200194de16177c68c05 Mon Sep 17 00:00:00 2001 From: "Fedor A. Fetisov" Date: Thu, 15 Jun 2017 19:28:47 +0300 Subject: [PATCH] Fix setting of the invitation style --- src/mibew/libs/classes/Mibew/Controller/ButtonCodeController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mibew/libs/classes/Mibew/Controller/ButtonCodeController.php b/src/mibew/libs/classes/Mibew/Controller/ButtonCodeController.php index 165800b6..d5a7f5f0 100644 --- a/src/mibew/libs/classes/Mibew/Controller/ButtonCodeController.php +++ b/src/mibew/libs/classes/Mibew/Controller/ButtonCodeController.php @@ -127,6 +127,7 @@ class ButtonCodeController extends AbstractController // Set generator-specific options $button_generator->setOption('image', $image); + $button_generator->setOption('invitation_style', $invitation_style); } else { // Make sure locale exists if (!$lang || !in_array($lang, $locales_list)) {