Possible Bug in Transport/HTTP.php

From: Date: Thu, 22 May 2003 20:12:46 +0000
Subject: Possible Bug in Transport/HTTP.php
Groups: php.soap 
Request: Send a blank email to php-soap+get-646@lists.php.net to get a copy of this message
On Line 506 this code starts if (isset($options['curl'])) { reset($options['curl']); while (list($key, $val) = each ($options['curl'])) { curl_setopt($ch, $key, $val); } } But if $options['curl'] is set, but not an array it chokes Perhaps? if (is_array($options['curl'])) { reset($options['curl']); while (list($key, $val) = each ($options['curl'])) { curl_setopt($ch, $key, $val); } } David Busby Systems Engineer busby@pnts.com

« previous php.soap (#646) next »