mirror of
https://github.com/php/php-src.git
synced 2026-04-18 13:31:27 +02:00
get rid of warning when $url["port"] isn't set
This commit is contained in:
@@ -58,7 +58,8 @@
|
||||
$message.=sprintf("Content-length: %d\r\n",$pairs_length);
|
||||
$message.="\r\n";
|
||||
$message.=$encrypted_pairs."\r\n";
|
||||
$response=CCSocketSend($merchant_key,$url["host"],$url["port"],$message);
|
||||
|
||||
$response=CCSocketSend($merchant_key,$url["host"],isset($url["port"])?$url["port"]:"",$message);
|
||||
return $response;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user