From 4b4413c9217441b958f6600fc659def2b091a453 Mon Sep 17 00:00:00 2001 From: Michael Rest Date: Tue, 20 Oct 2009 10:53:23 +0200 Subject: [PATCH] Fixed a problem with userlogreq and the tag cloud --- tags.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tags.php b/tags.php index 9310f29..999bffb 100644 --- a/tags.php +++ b/tags.php @@ -2,7 +2,7 @@ require_once('inc/init.php'); ldap_login(); - if ($conf['userlogreq'] && $user == ''){ + if ($conf['userlogreq'] && !isset($_SESSION['ldapab']['username'])){ header('Location: login.php'); exit(); } -- 2.39.2