deploy-30 - fixes

This commit is contained in:
Stephan
2016-04-15 16:36:53 +02:00
parent 378e8f5cd9
commit 179f36e2a2
5 changed files with 38 additions and 8 deletions

View File

@@ -39,8 +39,7 @@ namespace Umbraco.Core.Models
{
get
{
if (IsOnDisk) throw new InvalidOperationException("On-disk template do not have content until saved.");
return base.Content;
return IsOnDisk ? string.Empty : base.Content;
}
set
{