From 9f4697c5b3fe0131e7de3dae1d2f06b5c7311e13 Mon Sep 17 00:00:00 2001 From: Warren Buckley Date: Wed, 11 Sep 2019 10:54:47 +0100 Subject: [PATCH] Update src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs Co-Authored-By: Bjarke Berg --- src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs index f9267315e4..0e57b2bd35 100644 --- a/src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs +++ b/src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs @@ -116,7 +116,7 @@ namespace Umbraco.Web.PropertyEditors var userId = Current.UmbracoContext.Security.CurrentUser.Id; // TODO: In future task(get the parent folder from this config) to save the media into - parsed = TemplateUtilities.FindAndPersistPastedTempImages(parsed, -1, userId, _mediaService, _contentTypeBaseServiceProvider); + parsed = TemplateUtilities.FindAndPersistPastedTempImages(parsed, Constants.System.Root, userId, _mediaService, _contentTypeBaseServiceProvider); return parsed; } }