aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Queue.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2021-03-10 19:44:02 +0000
committerMax Kostikov <max@kostikov.co>2021-03-10 19:44:02 +0000
commit86ed4f4f9906663f96876a4ea8fde126c55b671c (patch)
tree0f54d850fc80df65f140f9a95c64c65662f0907c /Zotlabs/Lib/Queue.php
parent7795224e70711be2fd08d59c17c0b0bbf3b822fa (diff)
downloadvolse-hubzilla-86ed4f4f9906663f96876a4ea8fde126c55b671c.tar.gz
volse-hubzilla-86ed4f4f9906663f96876a4ea8fde126c55b671c.tar.bz2
volse-hubzilla-86ed4f4f9906663f96876a4ea8fde126c55b671c.zip
Check for HTTP port use
Diffstat (limited to 'Zotlabs/Lib/Queue.php')
-rw-r--r--Zotlabs/Lib/Queue.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Queue.php b/Zotlabs/Lib/Queue.php
index ba314ded3..373a7d304 100644
--- a/Zotlabs/Lib/Queue.php
+++ b/Zotlabs/Lib/Queue.php
@@ -134,7 +134,7 @@ class Queue {
$base = null;
$h = parse_url($outq['outq_posturl']);
if($h !== false)
- $base = $h['scheme'] . '://' . $h['host'] . (($h['port']) ? ':' . $h['port'] : '');
+ $base = $h['scheme'] . '://' . $h['host'] . (isset($h['port']) ? ':' . $h['port'] : '');
if(($base) && ($base !== z_root()) && ($immediate)) {
$y = q("select site_update, site_dead from site where site_url = '%s' ",