Merge pull request #100 from Mibew/invitations_fix

Prevent use of undefined values on display of chat invitation
This commit is contained in:
Dmitriy S. Simushev 2015-01-12 11:46:15 +03:00
commit 52107afc1a

View File

@ -105,9 +105,9 @@ abstract class AbstractController extends BaseAbstractController
'mibewBasePath' => $request->getBasePath(), 'mibewBasePath' => $request->getBasePath(),
'mibewBaseUrl' => $request->getBaseUrl(), 'mibewBaseUrl' => $request->getBaseUrl(),
'stylePath' => $request->getBasePath() . '/' . $this->getStyle()->getFilesPath(), 'stylePath' => $request->getBasePath() . '/' . $this->getStyle()->getFilesPath(),
'company' => $options['company'], 'company' => isset($options['company']) ? $options['company'] : '',
'mibewHost' => $options['mibewHost'], 'mibewHost' => isset($options['mibewHost']) ? $options['mibewHost'] : '',
'title' => $options['page.title'], 'title' => isset($options['page.title']) ? $options['page.title'] : '',
), ),
'startFrom' => $options['startFrom'], 'startFrom' => $options['startFrom'],
); );