Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 8a9acaa5ba3cab3a44873d85bc110fc2b28e2be7 1 parent 93bee94
@chillu chillu authored
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')
);
Please sign in to comment.
Something went wrong with that request. Please try again.