mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-30 21:10:29 +03:00
Fix setting of the invitation style
This commit is contained in:
parent
ead790853e
commit
1b436f9535
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user