aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-01-15 19:04:20 +0000
committerMario <mario@mariovavti.com>2021-01-15 19:04:20 +0000
commit77c777512c4522e4b6f71c6269c670e7a1b94fb2 (patch)
treee62c126206ef319b61c7871568ed3c6e0c075513
parent02059fb663b87bd66c9f8a5f341d055fdd484dd7 (diff)
downloadvolse-hubzilla-77c777512c4522e4b6f71c6269c670e7a1b94fb2.tar.gz
volse-hubzilla-77c777512c4522e4b6f71c6269c670e7a1b94fb2.tar.bz2
volse-hubzilla-77c777512c4522e4b6f71c6269c670e7a1b94fb2.zip
fix issue in unused function
-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 6acc58bc5..4a8f2f4ca 100644
--- a/Zotlabs/Lib/Queue.php
+++ b/Zotlabs/Lib/Queue.php
@@ -88,7 +88,7 @@ class Queue {
static function set_delivered($id,$channel = 0) {
logger('queue: set delivered ' . $id,LOGGER_DEBUG);
- $sql_extra = (($channel_id) ? " and outq_channel = " . intval($channel_id) . " " : '');
+ $sql_extra = (($channel['channel_id']) ? " and outq_channel = " . intval($channel['channel_id']) . " " : '');
// Set the next scheduled run date so far in the future that it will be expired
// long before it ever makes it back into the delivery chain.