diff options
| author | Lester Caine <lester@lsces.co.uk> | 2006-02-09 11:12:45 +0000 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2006-02-09 11:12:45 +0000 |
| commit | 51dc93a39164decb0efe4c176d4588cdc4265f46 (patch) | |
| tree | c961ffb4d1f88fe295793fdb5d26bef35b99f385 /modules | |
| parent | 49ff82fdca41a767d9094f92191b9b860cce2daa (diff) | |
| download | search-51dc93a39164decb0efe4c176d4588cdc4265f46.tar.gz search-51dc93a39164decb0efe4c176d4588cdc4265f46.tar.bz2 search-51dc93a39164decb0efe4c176d4588cdc4265f46.zip | |
Not sure why this is being used for index.php, but have removed the permission filter for now so we get all packages in the drop downs
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/mod_package_search.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/mod_package_search.php b/modules/mod_package_search.php index 44025d6..8a9285d 100644 --- a/modules/mod_package_search.php +++ b/modules/mod_package_search.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_search/modules/mod_package_search.php,v 1.4 2006/02/08 08:24:21 lsces Exp $ + * $Header: /cvsroot/bitweaver/_bit_search/modules/mod_package_search.php,v 1.5 2006/02/09 11:12:45 lsces Exp $ * * Copyright (c) 2004 bitweaver.org * Copyright (c) 2003 tikwiki.org @@ -8,7 +8,7 @@ * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details * - * $Id: mod_package_search.php,v 1.4 2006/02/08 08:24:21 lsces Exp $ + * $Id: mod_package_search.php,v 1.5 2006/02/09 11:12:45 lsces Exp $ * @author Luis Argerich (lrargerich@yahoo.com) * @package search * @subpackage modules @@ -36,10 +36,10 @@ default : $perm = ""; break; } $show = false; - if (!empty($perm) and $gBitUser->hasPermission($perm)) { +// if (!empty($perm) and $gBitUser->hasPermission($perm)) { $contentTypes[] = $contentType["content_type_guid"]; $contentDescriptions[] = $contentType["content_description"]; - } +// } } $gBitSmarty->assign( 'contentTypes', $contentTypes ); $gBitSmarty->assign( 'contentDescriptions', $contentDescriptions ); |
