diff options
author | Christian Helbling | 2016-05-02 16:07:07 +0200 |
---|---|---|
committer | Christian Helbling | 2016-05-02 16:07:07 +0200 |
commit | 01076e6c2b2ca9ba54d4d9ec66ab7aacea08efa5 (patch) | |
tree | fad627c4c4544fa2c56751ed9857e1505de0b58f | |
parent | 0c34a8a1d8ca58664c452ab95cf14f86f65b216d (diff) | |
download | itools-01076e6c2b2ca9ba54d4d9ec66ab7aacea08efa5.tar.gz itools-01076e6c2b2ca9ba54d4d9ec66ab7aacea08efa5.tar.bz2 itools-01076e6c2b2ca9ba54d4d9ec66ab7aacea08efa5.zip |
fix url in alerts (started with //)
-rw-r--r-- | it_url.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class index 405397e..ce1f96f 100644 --- a/it_url.class +++ b/it_url.class @@ -610,7 +610,7 @@ function get_cache($p = array()) */ function get_cache_contents($p) { - return ($fn = self::get_cache($p)) ? file_get_contents($fn) : ($p['safety'] === 0 ? null : it::error(array('title' => "failed getting " . $p['url'], 'body' => var_export($p, true)))); + return ($fn = self::get_cache($p)) ? file_get_contents($fn) : ($p['safety'] === 0 ? null : it::error(array('title' => "failed getting " . it_url::absolute($p['url']), 'body' => var_export($p, true)))); } /** |