Permalink
Browse files

Fixed "add page" type icons (fixes #8190)

  • Loading branch information...
1 parent 93bee94 commit 8a9acaa5ba3cab3a44873d85bc110fc2b28e2be7 @chillu chillu committed Jan 17, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/controllers/CMSPageAddController.php
View
2 code/controllers/CMSPageAddController.php
@@ -19,7 +19,7 @@ function AddForm() {
$pageTypes = array();
foreach($this->PageTypes() as $type) {
$html = sprintf('<span class="page-icon class-%s"></span><strong class="title">%s</strong><span class="description">%s</span>',
- $type->getField('Title'),
+ $type->getField('ClassName'),
$type->getField('AddAction'),
$type->getField('Description')
);

0 comments on commit 8a9acaa

Please sign in to comment.