diff options
Diffstat (limited to 'assign_content.php')
| -rw-r--r-- | assign_content.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/assign_content.php b/assign_content.php index 7450ae5..5eccbe0 100644 --- a/assign_content.php +++ b/assign_content.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_pigeonholes/assign_content.php,v 1.10 2007/03/09 03:57:16 nickpalmer Exp $ + * $Header: /cvsroot/bitweaver/_bit_pigeonholes/assign_content.php,v 1.11 2007/04/05 22:16:33 nickpalmer 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: assign_content.php,v 1.10 2007/03/09 03:57:16 nickpalmer Exp $ + * $Id: assign_content.php,v 1.11 2007/04/05 22:16:33 nickpalmer Exp $ * @package pigeonholes * @subpackage functions */ @@ -26,9 +26,9 @@ include_once( PIGEONHOLES_PKG_PATH.'lookup_pigeonholes_inc.php' ); $feedback = ''; $gBitSmarty->assign_by_ref( 'feedback', $feedback ); -if( empty( $contentTypes ) ) { - $contentTypes = array( '' => tra( 'All Content' ) ); - foreach( $gLibertySystem->mContentTypes as $cType ) { +$contentTypes = array( '' => tra( 'All Content' ) ); +foreach( $gLibertySystem->mContentTypes as $cType ) { + if ($cType['content_type_guid'] != PIGEONHOLES_CONTENT_TYPE_GUID) { $contentTypes[$cType['content_type_guid']] = $cType['content_description']; } } |
