From 1093e7085a9ed5b0f128ea5bda443c1e484e4c7a Mon Sep 17 00:00:00 2001 From: Albert Santoni Date: Wed, 5 Aug 2015 15:00:28 -0400 Subject: [PATCH] Re-enable hiding the first run popup after first run --- airtime_mvc/application/controllers/ShowbuilderController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/controllers/ShowbuilderController.php b/airtime_mvc/application/controllers/ShowbuilderController.php index 33a3118f2..c96ca658e 100644 --- a/airtime_mvc/application/controllers/ShowbuilderController.php +++ b/airtime_mvc/application/controllers/ShowbuilderController.php @@ -142,7 +142,7 @@ class ShowbuilderController extends Zend_Controller_Action // If current user is Super Admin, and they came from the login page, // and they have not seen the setup popup before - if ($currentUser->isSuperAdmin() && $previousPageWasLoginScreen /*&& empty($setupComplete)*/) { + if ($currentUser->isSuperAdmin() && $previousPageWasLoginScreen && empty($setupComplete)) { $lang_tz_popup_form = new Application_Form_SetupLanguageTimezone(); $this->view->lang_tz_popup_form = $lang_tz_popup_form; $this->view->headScript()->appendFile($baseUrl.'js/airtime/nowplaying/lang-timezone-setup.js?'.$CC_CONFIG['airtime_version'],'text/javascript');