Fix SAAS-1128 more robustly to fix timezone/lang popup for sign up too

This commit is contained in:
Albert Santoni 2015-10-14 14:40:23 -04:00
parent a90b97fb55
commit 591b3d1539
1 changed files with 1 additions and 1 deletions

View File

@ -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