Commit 8106be70 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Fix PHP warning(s).

parent 77038cca
......@@ -376,6 +376,8 @@ function CHECKURL($url, &$error) {
$fp = @fopen($url, "r");
if (! $fp) {
$is_redirect = 0;
# Check to see if it was a redirect, in which case its OK
for ($i = 0; $i < count($http_response_header); $i++) {
if (!strcmp("Location:", substr($http_response_header[$i],0,9))) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment