php-curl-class/php-curl-class — pull request #1 by user52 (2013-08-28 15:47:54+00:00)
Title: Fix "Notice: Array to string conversion"

Fix "Notice: Array to string conversion" when $value in curl_setopt($ch, CURLOPT_POSTFIELDS, $value) is an array that contains an empty array. Example that causes Notice:

$data = array(
'foo' => 'bar',
'baz' => array(
),
);