diff --git a/httprl.module b/httprl.module index 7085d66..761666b 100644 --- a/httprl.module +++ b/httprl.module @@ -1204,7 +1204,7 @@ function httprl_send_request($results = NULL) { foreach ($write as $w) { $id = array_search($w, $this_run); // Make sure ID is in the streams & status is for writing. - if ($id === FALSE || empty($responses[$id]->status) || $responses[$id]->status != 'in progress') { + if ($id === FALSE || !isset($responses[$id]) || empty($responses[$id]->status) || $responses[$id]->status != 'in progress') { continue; }