mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing Send Email activity upgrade process
This commit is contained in:
@@ -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}";
|
||||||
|
Reference in New Issue
Block a user