]> git.sur5r.net Git - contagged/commitdiff
fixed problem in tag cloud
authorAndreas Gohr <gohr@cosmocode.de>
Wed, 5 Dec 2007 16:17:15 +0000 (17:17 +0100)
committerAndreas Gohr <gohr@cosmocode.de>
Wed, 5 Dec 2007 16:17:15 +0000 (17:17 +0100)
The tag cloud depended on a deprecated config option.

darcs-hash:20071205161715-6e07b-cfcf7cd8241923c3f3cc0637e8db408597ff9616.gz

tags.php

index b81e50e2e6c08f1ea58e1d0959098337a9bb5ff1..9310f29f77e164bbeb5f283b17f5b96bcf27ce40 100644 (file)
--- a/tags.php
+++ b/tags.php
@@ -6,7 +6,6 @@
     header('Location: login.php');
     exit();
   }
-
   //prepare templates
   tpl_std();
   $smarty->assign('tagcloud',tag_cloud());
     global $conf;
     global $LDAP_CON;
     global $FIELDS;
-    if(!$conf['extended']) return;
+    if(!$FIELDS['_marker']) return;
 
     $result = ldap_queryabooks('(objectClass=inetOrgPerson)',$FIELDS['_marker']);
-
     $max = 0;
     $min = 999999999;
     $tags = array();