Only use module var

This commit is contained in:
Michael RICOIS 2016-04-29 17:33:19 +02:00
parent 907222be18
commit 2edd863849

View File

@ -73,11 +73,7 @@ class Application_Controller_Plugin_Theme extends Zend_Controller_Plugin_Abstrac
);
$UserLogin = false;
if ( $controller == 'user' && ( $action == 'login' || $action == 'logout' ) ) {
$UserLogin = true;
}
if ( $controller == 'auth' ) {
if ( $module == 'auth' ) {
$UserLogin = true;
}