From 25738397ab8d9d531edfcdc92fe27760879defab Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 8 Apr 2014 17:51:45 +0200 Subject: fix err message in case of instanciated url object --- it_url.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_url.class') diff --git a/it_url.class b/it_url.class index 0db934e..3888b17 100644 --- a/it_url.class +++ b/it_url.class @@ -375,7 +375,7 @@ function request($p=array()) $result = false; if ($result === false && $p['safety'] == 1) - it::error("problem (timeout?) getting " . $p['url'] . " " . $errstr); + it::error("problem (timeout?) getting $url->url " . $errstr); if ($p['maxlength'] && (strlen($this->data) + $len > $p['maxlength'])) $result = false; -- cgit v1.2.3