aboutsummaryrefslogtreecommitdiffstats
path: root/include/bookmarks.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2021-03-10 19:44:17 +0000
committerMax Kostikov <max@kostikov.co>2021-03-10 19:44:17 +0000
commit9098bb431cefa0a865938d866a7f34396e21a154 (patch)
tree7828c6931e8f807fd47df11c531fe691b3a34b59 /include/bookmarks.php
parent86ed4f4f9906663f96876a4ea8fde126c55b671c (diff)
downloadvolse-hubzilla-9098bb431cefa0a865938d866a7f34396e21a154.tar.gz
volse-hubzilla-9098bb431cefa0a865938d866a7f34396e21a154.tar.bz2
volse-hubzilla-9098bb431cefa0a865938d866a7f34396e21a154.zip
Check for HTTP port use
Diffstat (limited to 'include/bookmarks.php')
-rw-r--r--include/bookmarks.php2
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 '';
}