]> git.sur5r.net Git - contagged/blobdiff - index.php
fixed problem in tag cloud
[contagged] / index.php
index e41237a56767aaa3517a7df551707844fc55b468..7fcf106a9d1dc464785e6d972cfd26ae3e8d0f0c 100644 (file)
--- a/index.php
+++ b/index.php
@@ -48,8 +48,9 @@
   $smarty->assign('org',$_REQUEST['org']);
   //display templates
   if(!empty($_REQUEST['export'])){
-    if ($conf['userlogreq'] == 1 && $user == ''){
-      header("HTTP/1.1 401 ACCESS DENIED");
+    if ($conf['userlogreq'] && $user == ''){
+      header("HTTP/1.1 401 Access Denied");
+      echo '<h1>Access Denied</h1>';
       exit();
     }