diff --git a/src/mibew/libs/classes/Mibew/Button/Generator/AbstractGenerator.php b/src/mibew/libs/classes/Mibew/Button/Generator/AbstractGenerator.php index 2a6ec7d0..8b5af871 100644 --- a/src/mibew/libs/classes/Mibew/Button/Generator/AbstractGenerator.php +++ b/src/mibew/libs/classes/Mibew/Button/Generator/AbstractGenerator.php @@ -237,7 +237,7 @@ abstract class AbstractGenerator implements GeneratorInterface { return array( 'id' => $this->getOption('unique_id'), - 'url' => str_replace('&', '&', $this->getChatUrl()), + 'url' => $this->getChatUrl(), 'preferIFrame' => $this->getOption('prefer_iframe'), 'modSecurity' => $this->getOption('mod_security'), ) + $this->getPopupStyle();