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); }