summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{