aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-06-14 09:52:54 +0200
committerMario Vavti <mario@mariovavti.com>2019-06-14 09:52:54 +0200
commita26774b99e1cf3e69df4f527e2c4c4443dce63ad (patch)
tree81dd42983626813d3631b178786ebe3dd673728a /Zotlabs
parent925859377699654a359311a3655b7f19f010aab3 (diff)
downloadvolse-hubzilla-a26774b99e1cf3e69df4f527e2c4c4443dce63ad.tar.gz
volse-hubzilla-a26774b99e1cf3e69df4f527e2c4c4443dce63ad.tar.bz2
volse-hubzilla-a26774b99e1cf3e69df4f527e2c4c4443dce63ad.zip
fix mod cal regression
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Cal.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Module/Cal.php b/Zotlabs/Module/Cal.php
index 49489f912..731998c1a 100644
--- a/Zotlabs/Module/Cal.php
+++ b/Zotlabs/Module/Cal.php
@@ -233,13 +233,12 @@ class Cal extends \Zotlabs\Web\Controller {
where item.resource_type = 'event' and event.uid = %d and event.uid = item.uid $ignored
AND (( event.adjust = 0 AND ( event.dtend >= '%s' or event.nofinish = 1 ) AND event.dtstart <= '%s' )
OR ( event.adjust = 1 AND ( event.dtend >= '%s' or event.nofinish = 1 ) AND event.dtstart <= '%s' )) ",
- intval(local_channel()),
+ intval($channel['channel_id']),
dbesc($start),
dbesc($finish),
dbesc($adjust_start),
dbesc($adjust_finish)
);
-
}
$links = array();