summaryrefslogtreecommitdiff
path: root/admin
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 /admin
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 'admin')
-rw-r--r--admin/admin_calendar_inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/admin_calendar_inc.php b/admin/admin_calendar_inc.php
index 574ffba..efb7548 100644
--- a/admin/admin_calendar_inc.php
+++ b/admin/admin_calendar_inc.php
@@ -33,7 +33,7 @@ global $gLibertySystem;
foreach( $gLibertySystem->mContentTypes as $cType ) {
$option = 'calendar_default_'.$cType['content_type_guid'];
$calendarChecks[] = $option;
- $calendarTypeDefaults[$option] = $cType['content_description'];
+ $calendarTypeDefaults[$option] = $gLibertySystem->getContentTypeName( $cType['content_type_guid'] );
}
asort($calendarTypeDefaults);
$gBitSmarty->assign('calendarTypeDefaults', $calendarTypeDefaults);