Skip to content
Permalink
Browse files

BUG Fix regression in FormField casting

  • Loading branch information...
Damian Mooyman
Damian Mooyman committed Aug 15, 2016
1 parent 5f73d34 commit 95c640ae6b5620be83d38e8060317554bc0820ed
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/controllers/CMSPageAddController.php
@@ -24,7 +24,7 @@ public function AddForm() {
$type->getField('AddAction'),
$type->getField('Description')
);
$pageTypes[$type->getField('ClassName')] = $html;
$pageTypes[$type->getField('ClassName')] = DBField::create_field('HTMLText', $html);
}
// Ensure generic page type shows on top
if(isset($pageTypes['Page'])) {

0 comments on commit 95c640a

Please sign in to comment.
You can’t perform that action at this time.