Permalink
Browse files

BUGFIX: Without casting TreeTitle as HTMLText, unescape HTML appears …

…in TreeDropdownField
  • Loading branch information...
1 parent 237ed5c commit b1ad10a42b218c2bbce067e2faabe758da89148f @unclecheese unclecheese committed Sep 27, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 filesystem/Folder.php
View
@@ -24,6 +24,10 @@ class Folder extends File {
private static $plural_name = "Folders";
private static $default_sort = "\"Name\"";
+
+ private static $casting = array (
+ 'TreeTitle' => 'HTMLText'
+ );
/**
*

0 comments on commit b1ad10a

Please sign in to comment.