diff options
author | Christian Schneider | 2021-01-13 16:22:52 +0100 |
---|---|---|
committer | Christian Schneider | 2021-01-13 16:22:52 +0100 |
commit | afee193f732619645e7156788c15902e70a0257d (patch) | |
tree | f4e879af9718ff5b5209e14a86201b41bc23cd86 /it_url.class | |
parent | 4f7f5e4b1fd1077ad134860b32203810ef24c0ce (diff) | |
download | itools-afee193f732619645e7156788c15902e70a0257d.tar.gz itools-afee193f732619645e7156788c15902e70a0257d.tar.bz2 itools-afee193f732619645e7156788c15902e70a0257d.zip |
Unified } else { missed in first iteration
Diffstat (limited to 'it_url.class')
-rw-r--r-- | it_url.class | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class index f4dc05f..bd60ffc 100644 --- a/it_url.class +++ b/it_url.class @@ -319,7 +319,9 @@ function request($p=array()) $result =& $url->data; $this->errstr = "HTTP Status " . $url->result; } - } else { + } + else + { $result = $this->result = false; $this->errstr = trim("(" . curl_errno($curl) . ") " . curl_error($curl)); $this->curlinfo = curl_getinfo($curl); |