summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
authorNathan Gass2019-10-29 11:55:49 +0100
committerNathan Gass2019-10-29 11:55:49 +0100
commit16e036f18a14fbe50a45512ac7713b25a381a7fb (patch)
tree9f15f3a2c06ee42a71e6f74fc9345ecbd8176e26 /it_url.class
parent0ae61813817c38450bb7b03ca27cfa569ede35c8 (diff)
downloaditools-16e036f18a14fbe50a45512ac7713b25a381a7fb.tar.gz
itools-16e036f18a14fbe50a45512ac7713b25a381a7fb.tar.bz2
itools-16e036f18a14fbe50a45512ac7713b25a381a7fb.zip
fix for oo version of it_url
Diffstat (limited to 'it_url.class')
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class
index c8fb796..4afccb8 100644
--- a/it_url.class
+++ b/it_url.class
@@ -109,7 +109,7 @@ function get($p=null, $timeout=5)
$p += array('retries' => 1);
if (($filter = EDC('req')) && ($filter == 1 || strstr($p['url'], "/$filter.")))
- ED($p['url']);
+ ED($p['url'] ?: $this->url);
if (isset($this) && $this instanceof it_url)
{