summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
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 8152efe..b78aa0f 100644
--- a/it_url.class
+++ b/it_url.class
@@ -114,7 +114,7 @@ function get($p=null, $timeout=5)
if (($filter = EDC('req')) && ($filter == 1 || strstr($p['url'], "/$filter.")))
ED($p['url']);
- if ($this instanceof it_url)
+ if (isset($this) && $this instanceof it_url)
{
$url = $this;
if ($p['url'])