diff options
author | Christian Schneider | 2016-12-08 16:19:33 +0100 |
---|---|---|
committer | Christian Schneider | 2016-12-08 16:19:33 +0100 |
commit | 49f4d132530d24c4907772d75419c94cb6aef173 (patch) | |
tree | d87effbb7e6d568a5945b0caf549d26fcb24e57c /it_url.class | |
parent | 6a1b94db8794ac5c9ae8eaf452a7e6bf53b71e3c (diff) | |
download | itools-49f4d132530d24c4907772d75419c94cb6aef173.tar.gz itools-49f4d132530d24c4907772d75419c94cb6aef173.tar.bz2 itools-49f4d132530d24c4907772d75419c94cb6aef173.zip |
Make static/object context check PHP 7.1 compatible
Diffstat (limited to 'it_url.class')
-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 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']) |