aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2021-03-10 19:44:54 +0000
committerMax Kostikov <max@kostikov.co>2021-03-10 19:44:54 +0000
commitf8467845d208c0efde81d00d51cd0eb10637f6d5 (patch)
treec9e8ed6ca254ae5e0db325e62b6ffee4e1e54442
parent9098bb431cefa0a865938d866a7f34396e21a154 (diff)
downloadvolse-hubzilla-f8467845d208c0efde81d00d51cd0eb10637f6d5.tar.gz
volse-hubzilla-f8467845d208c0efde81d00d51cd0eb10637f6d5.tar.bz2
volse-hubzilla-f8467845d208c0efde81d00d51cd0eb10637f6d5.zip
Check for HTTP port use
-rw-r--r--include/queue_fn.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/queue_fn.php b/include/queue_fn.php
index b505a5b22..1e8171b1d 100644
--- a/include/queue_fn.php
+++ b/include/queue_fn.php
@@ -132,7 +132,7 @@ function queue_deliver($outq, $immediate = false) {
$base = null;
$h = parse_url($outq['outq_posturl']);
if($h !== false)
- $base = $h['scheme'] . '://' . $h['host'] . (array_key_exists('port', $h) ? ':' . $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' ",