aboutsummaryrefslogtreecommitdiff
path: root/lib/phplib
diff options
context:
space:
mode:
Diffstat (limited to 'lib/phplib')
-rw-r--r--lib/phplib/Seminar_Auth.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/phplib/Seminar_Auth.class.php b/lib/phplib/Seminar_Auth.class.php
index 0a566d1..4849ece 100644
--- a/lib/phplib/Seminar_Auth.class.php
+++ b/lib/phplib/Seminar_Auth.class.php
@@ -326,7 +326,7 @@ class Seminar_Auth
// load the default set of plugins
PluginEngine::loadPlugins();
- if (Request::get('loginname') && !$_COOKIE[get_class($GLOBALS['sess'])]) {
+ if (Request::get('loginname') && empty($_COOKIE[get_class($GLOBALS['sess'])])) {
$login_template = $GLOBALS['template_factory']->open('nocookies');
} else if (isset($this->need_email_activation)) {
$this->unauth();