mirror of
https://github.com/getgrav/grav.git
synced 2026-03-22 20:41:39 +01:00
Fixed GPM issue when using cURL throwing an Undefined offset: 1 exception
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
# v0.9.35
|
||||
## XX/XX/2015
|
||||
|
||||
1. [](#bugfix)
|
||||
* Fixed GPM issue when using cURL, throwing an `Undefined offset: 1` exception
|
||||
|
||||
# v0.9.34
|
||||
## 08/04/2015
|
||||
|
||||
|
||||
@@ -160,6 +160,8 @@ class Response
|
||||
private static function getCurl()
|
||||
{
|
||||
$args = func_get_args();
|
||||
$args = count($args) > 1 ? $args : array_shift($args);
|
||||
|
||||
$uri = $args[0];
|
||||
$options = $args[1];
|
||||
$callback = $args[2];
|
||||
|
||||
Reference in New Issue
Block a user