From b4264f83e8282c555196801fd13f092c8d119c84 Mon Sep 17 00:00:00 2001 From: denise Date: Fri, 19 Oct 2012 15:45:14 -0400 Subject: [PATCH] CC-4608: Chat Box is gone on sourcefabric.airtime.pro --- airtime_mvc/application/Bootstrap.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/airtime_mvc/application/Bootstrap.php b/airtime_mvc/application/Bootstrap.php index 6b698c3d6..392161212 100644 --- a/airtime_mvc/application/Bootstrap.php +++ b/airtime_mvc/application/Bootstrap.php @@ -90,6 +90,8 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap } else { $userType = ""; } + + $view->headScript()->appendScript("var userType = '$userType';"); if (strpos($_SERVER['REQUEST_URI'], $baseUrl.'/Dashboard/stream-player') === false && strpos($_SERVER['REQUEST_URI'], $baseUrl.'/audiopreview/audio-preview') === false) {