summaryrefslogtreecommitdiff
path: root/Calendar.php
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2010-04-17 15:36:07 +0000
committerwjames5 <will@tekimaki.com>2010-04-17 15:36:07 +0000
commit31d04c781bd608298167e095aded904f0281fa86 (patch)
treea33ff9574eeaef0ce0d9bd560aa992e3265aeb67 /Calendar.php
parentb3845470baf6e40e40d663eccda02a9f7fab83c9 (diff)
downloadcalendar-31d04c781bd608298167e095aded904f0281fa86.tar.gz
calendar-31d04c781bd608298167e095aded904f0281fa86.tar.bz2
calendar-31d04c781bd608298167e095aded904f0281fa86.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 required
Diffstat (limited to 'Calendar.php')
-rw-r--r--Calendar.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Calendar.php b/Calendar.php
index b4395b3..2b1a68e 100644
--- a/Calendar.php
+++ b/Calendar.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_calendar/Calendar.php,v 1.53 2009/10/01 14:16:58 wjames5 Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_calendar/Calendar.php,v 1.54 2010/04/17 15:36:06 wjames5 Exp $
* @package calendar
*
* @copyright Copyright (c) 2004-2006, bitweaver.org
@@ -286,7 +286,7 @@ class Calendar extends LibertyContent {
global $gLibertySystem, $gBitSmarty, $gBitSystem;
foreach( $gLibertySystem->mContentTypes as $cName => $cType ) {
if ( $gBitSystem->isPackageActive( $cType['handler_package'] ) ) {
- $contentTypes[$cType['content_type_guid']] = $cType['content_description'];
+ $contentTypes[$cType['content_type_guid']] = $gLibetySystem->getContentTypeName( $cType['content_type_guid'] );
}
}
asort($contentTypes);