diff options
author | Max Kostikov <max@kostikov.co> | 2021-03-10 19:44:17 +0000 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2021-03-10 19:44:17 +0000 |
commit | 9098bb431cefa0a865938d866a7f34396e21a154 (patch) | |
tree | 7828c6931e8f807fd47df11c531fe691b3a34b59 /include | |
parent | 86ed4f4f9906663f96876a4ea8fde126c55b671c (diff) | |
download | volse-hubzilla-9098bb431cefa0a865938d866a7f34396e21a154.tar.gz volse-hubzilla-9098bb431cefa0a865938d866a7f34396e21a154.tar.bz2 volse-hubzilla-9098bb431cefa0a865938d866a7f34396e21a154.zip |
Check for HTTP port use
Diffstat (limited to 'include')
-rw-r--r-- | include/bookmarks.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bookmarks.php b/include/bookmarks.php index 145119347..207cf5a33 100644 --- a/include/bookmarks.php +++ b/include/bookmarks.php @@ -73,6 +73,6 @@ function get_bookmark_link($observer) { $h = @parse_url($observer['xchan_url']); if($h) - return $h['scheme'] . '://' . $h['host'] . (($h['port']) ? ':' . $h['port'] : '') . '/rbmark?f='; + return $h['scheme'] . '://' . $h['host'] . (isset($h['port']) ? ':' . $h['port'] : '') . '/rbmark?f='; return ''; } |