aboutsummaryrefslogtreecommitdiffstats
path: root/include/zid.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-02-13 19:31:51 +0000
committerMario <mario@mariovavti.com>2022-02-13 19:31:51 +0000
commitc0350861ef0da66209e6b08c75af2c16e3673e25 (patch)
tree458473253ee91d92c7326b60567de301d272f4ea /include/zid.php
parenta7ec1805e3f5836641503d1f8cb6ccc1d8c885fa (diff)
downloadvolse-hubzilla-c0350861ef0da66209e6b08c75af2c16e3673e25.tar.gz
volse-hubzilla-c0350861ef0da66209e6b08c75af2c16e3673e25.tar.bz2
volse-hubzilla-c0350861ef0da66209e6b08c75af2c16e3673e25.zip
php8 warnings
Diffstat (limited to 'include/zid.php')
-rw-r--r--include/zid.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/zid.php b/include/zid.php
index ae7d9e252..5710d9f3f 100644
--- a/include/zid.php
+++ b/include/zid.php
@@ -58,6 +58,8 @@ function zid($s, $address = '') {
$mine_parsed = parse_url($mine);
$s_parsed = parse_url($s);
+
+ $url_match = false;
if(isset($mine_parsed['host']) && isset($s_parsed['host']) && $mine_parsed['host'] === $s_parsed['host'])
$url_match = true;