Skip to content

Commit f2fcac7

Browse files
committed
Adapt email subject templating functionality to different value types.
1 parent e3e9233 commit f2fcac7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGES.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ Changelog
44
3.2.1 (unreleased)
55
------------------
66

7-
- Nothing changed yet.
7+
- Adapt email subject templating functionality to different value types.
8+
[folix-01]
89

910

1011
3.2.0 (2024-11-15)

src/collective/volto/formsupport/restapi/services/submit_form/post.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def get_subject(self):
178178

179179
for match in matches:
180180
if field_id in match:
181-
subject = subject.replace(match, i.get("value"))
181+
subject = subject.replace(match, str(i.get("value")))
182182

183183
return subject
184184

0 commit comments

Comments
 (0)