Fix undefined index when option not set for MultiCurl::getOpt()

This commit is contained in:
Zach Borboa
2016-09-03 23:06:25 -07:00
parent 90560e5d9c
commit 946f4a74a1
+1 -1
View File
@@ -344,7 +344,7 @@ class MultiCurl
*/
public function getOpt($option)
{
return $this->options[$option];
return isset($this->options[$option]) ? $this->options[$option] : null;
}
/**