Skip to content

Commit 32aecc6

Browse files
author
Till Brehm
committed
Update validate_client.inc.php
1 parent f0e1575 commit 32aecc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/validate_client.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ function check_vat_id ($field_name, $field_value, $validator){
176176
}
177177
try {
178178
ini_set("default_socket_timeout", 5);
179-
$client = new SoapClient("http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl");
179+
$client = new SoapClient("http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl", array('connection_timeout' => 5));
180180
$params = array('countryCode' => $cc, 'vatNumber' => $vn);
181181
try{
182182
$r = $client->checkVat($params);

0 commit comments

Comments
 (0)