diff --git a/lib/PushTask.php b/lib/PushTask.php index 0af2730..b668e4f 100644 --- a/lib/PushTask.php +++ b/lib/PushTask.php @@ -87,8 +87,8 @@ class PushTask { // First check the feed to see if the content has changed since the last time we checked $response = request\get_url($feed->feed_url, true); - if($response['code'] != 200) { - echo "Feed did not return HTTP 200: ".$response['code'].". Skipping publish.\n"; + if($response['status'] != 200) { + echo "Feed did not return HTTP 200: ".$response['status'].". Skipping publish.\n"; return; }