diff --git a/newznab/controllers/NNTP.php b/newznab/controllers/NNTP.php index bb7146535..540fbdcf5 100644 --- a/newznab/controllers/NNTP.php +++ b/newznab/controllers/NNTP.php @@ -493,9 +493,9 @@ class NNTP extends Net_NNTP_Client foreach ($overview as $name => $element) { // Strip Xref: if ($element === true) { - $header[$iterator] = substr($header[$iterator], 6); + @$header[$iterator] = substr($header[$iterator], 6); } - $headerArray[$name] = $header[$iterator++]; + @$headerArray[$name] = $header[$iterator++]; } // Add the individual header array back to the return array. $data[$key] = $headerArray;