From c740112fba28d2ad31e99f85eafcb722f3080ef9 Mon Sep 17 00:00:00 2001 From: Mitch Jackson Date: Wed, 28 Nov 2018 15:24:45 -0500 Subject: [PATCH] RT# 76309 Validate E-Mail address on billing event action notice_to --- FS/FS/part_event/Action/notice_to.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/FS/FS/part_event/Action/notice_to.pm b/FS/FS/part_event/Action/notice_to.pm index dee293b70..98f5cd3c9 100644 --- a/FS/FS/part_event/Action/notice_to.pm +++ b/FS/FS/part_event/Action/notice_to.pm @@ -21,9 +21,10 @@ sub eventtable_hashref { sub option_fields { ( - 'to' => { 'label' => 'Destination', - 'type' => 'text', - 'size' => 30, + 'to' => { 'label' => 'Destination', + 'type' => 'text', + 'size' => 200, + 'validation' => 'ut_email', }, 'msgnum' => { 'label' => 'Template', 'type' => 'select-table', -- 2.11.0