From: Andreas Gohr Date: Wed, 5 Dec 2007 16:17:15 +0000 (+0100) Subject: fixed problem in tag cloud X-Git-Tag: 0.7.1~25 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=03bedef53fe38250f38315c10e3bf04ad737f3f1;p=contagged fixed problem in tag cloud The tag cloud depended on a deprecated config option. darcs-hash:20071205161715-6e07b-cfcf7cd8241923c3f3cc0637e8db408597ff9616.gz --- diff --git a/tags.php b/tags.php index b81e50e..9310f29 100644 --- a/tags.php +++ b/tags.php @@ -6,7 +6,6 @@ header('Location: login.php'); exit(); } - //prepare templates tpl_std(); $smarty->assign('tagcloud',tag_cloud()); @@ -18,10 +17,9 @@ 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();