From 591b3d1539c75edd762502aa7121ac1c8f0ebc0c Mon Sep 17 00:00:00 2001 From: Albert Santoni Date: Wed, 14 Oct 2015 14:40:23 -0400 Subject: [PATCH] Fix SAAS-1128 more robustly to fix timezone/lang popup for sign up too --- 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 77f4cfa75..b43e65a8c 100644 --- a/airtime_mvc/application/controllers/ShowbuilderController.php +++ b/airtime_mvc/application/controllers/ShowbuilderController.php @@ -111,7 +111,7 @@ class ShowbuilderController extends Zend_Controller_Action $userService = new Application_Service_UserService(); $currentUser = $userService->getCurrentUser(); $previousPageWasLoginScreen = (strpos($previousPage, 'login') !== false) || - ($previousPage == SAAS_LOGIN_REFERRER); + (strpos($previousPage, SAAS_LOGIN_REFERRER) !== false); // If current user is Super Admin, and they came from the login page, // and they have not seen the setup popup before