Fix setting of the invitation style

This commit is contained in:
Fedor A. Fetisov 2017-06-15 19:28:47 +03:00
parent ead790853e
commit 1b436f9535

View File

@ -127,6 +127,7 @@ class ButtonCodeController extends AbstractController
// Set generator-specific options // Set generator-specific options
$button_generator->setOption('image', $image); $button_generator->setOption('image', $image);
$button_generator->setOption('invitation_style', $invitation_style);
} else { } else {
// Make sure locale exists // Make sure locale exists
if (!$lang || !in_array($lang, $locales_list)) { if (!$lang || !in_array($lang, $locales_list)) {