13144 - fix undefined variable in ripcord

This commit is contained in:
Rodney Figaro 2017-05-24 16:40:09 +02:00
parent 8a95c6e742
commit 265669090f

View File

@ -482,7 +482,9 @@ class Ripcord_Transport_Stream implements Ripcord_Transport
);
$context = stream_context_create( $options );
$result = @file_get_contents( $url, false, $context );
$this->responseHeaders = $http_response_header;
// antadis 13144 - fix undefined variable
//$this->responseHeaders = $http_response_header;
// antadis 13144 - end
if ( !$result )
{
throw new Ripcord_TransportException( 'Could not access ' . $url,