markocupic / calendar-event-booking-bundle

Contao 4 Extension
13 stars 8 forks source link

deserialze select fields #27

Closed agenturfipps closed 3 years ago

agenturfipps commented 3 years ago

We added a select field in the registration form.
The notification exchanges the field value with an serialized array.

This must be de-/unserialized like the form notification.

I think it is in line 77 of NotfificationHelper

Thanks in advance.

markocupic commented 3 years ago

How do you access array values via tokens in a notification center message?

agenturfipps commented 3 years ago

member_field

Example:
Here is a snipet of the form:
image

and here of the notification:
image

the result is, that the serialized array will be mailed.
image

Better, only the values will be mailed, comma separated.

markocupic commented 3 years ago

Fixed in d9444ffa624d740c6bb8dc6f36384120aa15660a

markocupic commented 3 years ago

Test version 4.0.12 please. Array values should be sent as a comma separated string now.