From: Michael Rest Date: Tue, 20 Oct 2009 08:53:23 +0000 (+0200) Subject: Fixed a problem with userlogreq and the tag cloud X-Git-Tag: 0.7.1~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4b4413c9217441b958f6600fc659def2b091a453;p=contagged Fixed a problem with userlogreq and the tag cloud --- 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(); }