Fixing Send Email activity upgrade process

This commit is contained in:
Sebastien Ros
2014-01-21 18:12:37 -08:00
parent 57d0dde156
commit 410c058166

View File

@@ -74,10 +74,10 @@ namespace Upgrade.Controllers {
} }
if (state.Recipient == "owner") { if (state.Recipient == "owner") {
newState.Recipients = "{User.Current.Email}"; newState.Recipients = "{Content.Author.Email}";
} }
else if (state.Recipient == "author") { else if (state.Recipient == "author") {
newState.Recipients = "{Content.Author.Email}"; newState.Recipients = "{User.Current.Email}";
} }
else if (state.Recipient == "admin") { else if (state.Recipient == "admin") {
newState.Recipients = "{Site.SuperUser.Email}"; newState.Recipients = "{Site.SuperUser.Email}";