Add missing brackets to custom field shortcodes [MAILPOET-1013]
This commit is contained in:
@@ -118,7 +118,7 @@ class ShortcodesHelper {
|
||||
return array_map(function ($custom_field) {
|
||||
return array(
|
||||
'text' => $custom_field->name,
|
||||
'shortcode' => 'subscriber:cf_' . $custom_field->id
|
||||
'shortcode' => '[subscriber:cf_' . $custom_field->id . ']'
|
||||
);
|
||||
}, $custom_fields);
|
||||
}
|
||||
|
Reference in New Issue
Block a user