aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon/Queue.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2021-03-10 19:43:42 +0000
committerMax Kostikov <max@kostikov.co>2021-03-10 19:43:42 +0000
commit7795224e70711be2fd08d59c17c0b0bbf3b822fa (patch)
treee822c8a5cf53c781d3fda2f1b050cd128b46a64b /Zotlabs/Daemon/Queue.php
parentb729cee9e4aaf908d28835341171311532ae05d6 (diff)
downloadvolse-hubzilla-7795224e70711be2fd08d59c17c0b0bbf3b822fa.tar.gz
volse-hubzilla-7795224e70711be2fd08d59c17c0b0bbf3b822fa.tar.bz2
volse-hubzilla-7795224e70711be2fd08d59c17c0b0bbf3b822fa.zip
Check for HTTP port use
Diffstat (limited to 'Zotlabs/Daemon/Queue.php')
-rw-r--r--Zotlabs/Daemon/Queue.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Queue.php b/Zotlabs/Daemon/Queue.php
index 36bdcfe81..e1f4b73de 100644
--- a/Zotlabs/Daemon/Queue.php
+++ b/Zotlabs/Daemon/Queue.php
@@ -28,7 +28,7 @@ class Queue {
if ($r) {
foreach ($r as $rr) {
$h = parse_url($rr['outq_posturl']);
- $desturl = $h['scheme'] . '://' . $h['host'] . (($h['port']) ? ':' . $h['port'] : '');
+ $desturl = $h['scheme'] . '://' . $h['host'] . (isset($h['port']) ? ':' . $h['port'] : '');
q("update site set site_dead = 1 where site_dead = 0 and site_url = '%s' and site_update < %s - INTERVAL %s",
dbesc($desturl),
db_utcnow(), db_quoteinterval('1 MONTH')