Skip to content

Commit f0e1575

Browse files
author
Till Brehm
committed
Update validate_client.inc.php
1 parent 19b24c6 commit f0e1575

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

interface/lib/classes/validate_client.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ function check_vat_id ($field_name, $field_value, $validator){
175175
}
176176
}
177177
try {
178+
ini_set("default_socket_timeout", 5);
178179
$client = new SoapClient("http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl");
179180
$params = array('countryCode' => $cc, 'vatNumber' => $vn);
180181
try{

0 commit comments

Comments
 (0)