MINOR Removed user_error() that broke AssetAdmin to the end user (from r82622)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89814 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2009-10-21 04:35:25 +00:00
parent b2fe474fde
commit 760b7eb67c

View File

@ -336,9 +336,7 @@ HTML;
FormResponse::status_message($message, "good");
FormResponse::add("$('Form_EditForm').getPageFromServer($('Form_EditForm_ID').value)");
return FormResponse::respond();
} else {
user_error('Bad data:' . $_REQUEST['DestFolderID'], E_USER_ERROR);
return FormResponse::respond();
}
}