diff options
author | Christian Helbling | 2015-02-13 16:05:24 +0100 |
---|---|---|
committer | Christian Helbling | 2015-02-13 16:05:24 +0100 |
commit | 004a5fcb7849a4062e016faaa7a61f0c9acf0444 (patch) | |
tree | 7cbeb966b6e82788972fbf94ef339da8cf649e23 | |
parent | d131dc1ad2538b8aeb0ac5a39f368e21575e5977 (diff) | |
download | itools-004a5fcb7849a4062e016faaa7a61f0c9acf0444.tar.gz itools-004a5fcb7849a4062e016faaa7a61f0c9acf0444.tar.bz2 itools-004a5fcb7849a4062e016faaa7a61f0c9acf0444.zip |
fix 63ec357
-rw-r--r-- | it_url.class | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/it_url.class b/it_url.class index 7b20cd5..489998f 100644 --- a/it_url.class +++ b/it_url.class @@ -243,7 +243,7 @@ function get($p=null, $timeout=5) $p = array('url' => $p, 'timeout' => $timeout); $p += array('retries' => 1); - if (($filter = EDC('req')) && strstr($p['url'], it::replace(array('1' => ":", $filter)))) + if (($filter = EDC('req')) && strstr($p['url'], it::replace(array('1' => ":"), $filter))) ED($p['url']); if ($this instanceof it_url) @@ -271,7 +271,7 @@ function get($p=null, $timeout=5) if (!$result && $p['retries'] > 0 && $url->result < 400) $result = $url->get(array('retries' => $p['retries'] - 1) + $p); - if (($filter = EDC('res')) && strstr($p['url'], it::replace(array('1' => ":", $filter)))) + if (($filter = EDC('res')) && strstr($p['url'], it::replace(array('1' => ":"), $filter))) ED($result); return $result; |