diff options
| author | wjames5 <will@tekimaki.com> | 2010-04-17 15:36:08 +0000 |
|---|---|---|
| committer | wjames5 <will@tekimaki.com> | 2010-04-17 15:36:08 +0000 |
| commit | 97956a5c5d06ebb8871bc23ba9de2e387748cdcd (patch) | |
| tree | 0e5dcd409c5075d8e64637aa205d7a9ff9fa2bc5 /admin | |
| parent | 198d1a5d4adefbac78a7d5fac1a6cd85581dabed (diff) | |
| download | search-97956a5c5d06ebb8871bc23ba9de2e387748cdcd.tar.gz search-97956a5c5d06ebb8871bc23ba9de2e387748cdcd.tar.bz2 search-97956a5c5d06ebb8871bc23ba9de2e387748cdcd.zip | |
step three of contenttype name plural - replace all instances where name is accessed though type hash with get name method call, still no schema change requiredpre_ctype_desc_name_schmeachange
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/admin_search_inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/admin_search_inc.php b/admin/admin_search_inc.php index 95d860f..ff7d198 100644 --- a/admin/admin_search_inc.php +++ b/admin/admin_search_inc.php @@ -1,6 +1,6 @@ <?php -// $Header: /cvsroot/bitweaver/_bit_search/admin/admin_search_inc.php,v 1.17 2009/10/01 14:17:04 wjames5 Exp $ +// $Header: /cvsroot/bitweaver/_bit_search/admin/admin_search_inc.php,v 1.18 2010/04/17 15:36:08 wjames5 Exp $ // Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al. // All Rights Reserved. See below for details and a complete list of authors. @@ -118,7 +118,7 @@ if( empty( $contentTypes ) ) { $contentTypes = array( '' => tra( 'All Content' ) ); foreach( $gLibertySystem->mContentTypes as $cType ) { if( $gBitSystem->getConfig( 'search_pkg_'.$cType['content_type_guid']) ) { - $contentTypes[$cType['content_type_guid']] = $cType['content_description']; + $contentTypes[$cType['content_type_guid']] = $gLibertySystem->getContentTypeName( $cType['content_type_guid'] ); } } $gBitSmarty->assign( 'contentTypes', $contentTypes ); |
