From 5f4a4326193f7fb714590a4101b0345f22a047ac Mon Sep 17 00:00:00 2001 From: Andreas Piening Date: Wed, 27 Jan 2010 22:23:55 +0000 Subject: [PATCH] MINOR: #4674 applied patch for special chars in folder titles git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@97669 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/AssetAdmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/AssetAdmin.php b/code/AssetAdmin.php index a53739ae..274d886c 100755 --- a/code/AssetAdmin.php +++ b/code/AssetAdmin.php @@ -608,7 +608,7 @@ JS; return FormResponse::respond(); } - $form->dataFieldByName('Title')->value = $form->dataFieldByName('Name')->value; + $form->dataFieldByName('Name')->Value = $form->dataFieldByName('Title')->Value(); return parent::save($urlParams, $form); }