Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
stefangabos committed Jan 11, 2016
2 parents 601617b + 17b37db commit e1f9964
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Zebra_cURL.php
Original file line number Diff line number Diff line change
Expand Up @@ -1467,7 +1467,7 @@ public function post($urls, $callback = '')
CURLOPT_HEADER => 1,
CURLOPT_NOBODY => 0,
CURLOPT_POST => 1,
CURLOPT_POSTFIELDS => http_build_query($values, NULL, '&'),
CURLOPT_POSTFIELDS => is_array($values) ? http_build_query($values, NULL, '&') : $values,
CURLOPT_BINARYTRANSFER => null,
CURLOPT_HTTPGET => null,
CURLOPT_FILE => null,
Expand Down Expand Up @@ -2283,4 +2283,4 @@ private function _user_agent()

}

?>
?>

0 comments on commit e1f9964

Please sign in to comment.