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 b4af739..09c1292 100644
--- a/it_url.class
+++ b/it_url.class
@@ -237,7 +237,7 @@ function get($p=null, $timeout=5)
$p += array('totaltimeout' => "999999", 'timeout' => 5, 'retries' => 1);
- if ($p['url'])
+ if (isset($p['url']))
$url = new it_url($p['url']);
else
$url =& $this; # Must be reference for $url->result and $url->data to work