Revision 953a2e7f
Von Jan Büren vor fast 3 Jahren hinzugefügt
SL/DB/Shop.pm | ||
---|---|---|
22 | 22 |
push @errors, $::locale->text('The Host Name is missing') unless $self->{server}; |
23 | 23 |
push @errors, $::locale->text('The Host Name seems invalid') unless $self->{server} =~ m/[0-9A-Za-z].\.[0-9A-Za-z]/; |
24 | 24 |
push @errors, $::locale->text('The Proxy Name seems invalid') unless $self->{proxy} =~ m/[0-9A-Za-z].\.[0-9A-Za-z]/; |
25 |
push @errors, $::locale->text('The Proxy Name seems invalid') . $self->{proxy} . ':' unless !$self->{proxy} || $self->{proxy} =~ m/[0-9A-Za-z].\.[0-9A-Za-z]/; |
|
25 | 26 |
push @errors, $::locale->text('Orders to fetch neeeds a positive Integer') |
26 | 27 |
unless $self->{orders_to_fetch} > 0; |
27 | 28 |
|
Auch abrufbar als: Unified diff
Shopware-Proxy: Leeren Wert '' erlauben und danach regex prüfen