diff options
author | Mario <mario@mariovavti.com> | 2021-03-10 20:35:13 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-03-10 20:35:13 +0000 |
commit | 689603de8240619f801daeb56c0de0197f66cedd (patch) | |
tree | 6299f1d1d6631a9b777f26b6cb205459ea7eb781 /Zotlabs/Daemon/Queue.php | |
parent | b51049227f28bc1badf9387ea5bff16bfd7debcd (diff) | |
parent | 0a86efc6317d64173ec9785c6edeeedaffbae04e (diff) | |
download | volse-hubzilla-689603de8240619f801daeb56c0de0197f66cedd.tar.gz volse-hubzilla-689603de8240619f801daeb56c0de0197f66cedd.tar.bz2 volse-hubzilla-689603de8240619f801daeb56c0de0197f66cedd.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'Zotlabs/Daemon/Queue.php')
-rw-r--r-- | Zotlabs/Daemon/Queue.php | 2 |
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') |