mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Merge pull request #8541 from TexasDigitalLibrary/DSpace-8450
DS-8450 Fixes the null subject in the request acceptance email
This commit is contained in:
@@ -355,7 +355,7 @@ public class Email {
|
||||
for (String headerName : config.getArrayProperty("mail.message.headers")) {
|
||||
String headerValue = (String) vctx.get(headerName);
|
||||
if ("subject".equalsIgnoreCase(headerName)) {
|
||||
if (null != subject) {
|
||||
if (null != headerValue) {
|
||||
subject = headerValue;
|
||||
}
|
||||
} else if ("charset".equalsIgnoreCase(headerName)) {
|
||||
|
Reference in New Issue
Block a user