Skip to content

Commit ab0d78d

Browse files
author
Till Brehm
committed
The Paypal address is optional for Client and Reseller settings.
1 parent a8ab61e commit ab0d78d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

interface/web/client/form/client.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@
501501
'type' => 'TOLOWER')
502502
),
503503
'validators' => array (
504-
0 => array ( 'type' => 'ISEMAIL', 'errmsg'=> 'email_error_isemail'),
504+
0 => array ( 'type' => 'ISEMAIL', 'allowempty' => 'y', 'errmsg'=> 'email_error_isemail'),
505505
),
506506
'default' => '',
507507
'value' => '',

interface/web/client/form/reseller.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@
499499
'type' => 'TOLOWER')
500500
),
501501
'validators' => array (
502-
0 => array ( 'type' => 'ISEMAIL', 'errmsg'=> 'paypal_email_error_isemail'),
502+
0 => array ( 'type' => 'ISEMAIL', 'allowempty' => 'y', 'errmsg'=> 'paypal_email_error_isemail'),
503503
),
504504
'default' => '',
505505
'value' => '',

0 commit comments

Comments
 (0)