diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-06-14 09:52:54 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2019-06-14 09:52:54 +0200 |
commit | a26774b99e1cf3e69df4f527e2c4c4443dce63ad (patch) | |
tree | 81dd42983626813d3631b178786ebe3dd673728a /Zotlabs/Module | |
parent | 925859377699654a359311a3655b7f19f010aab3 (diff) | |
download | volse-hubzilla-a26774b99e1cf3e69df4f527e2c4c4443dce63ad.tar.gz volse-hubzilla-a26774b99e1cf3e69df4f527e2c4c4443dce63ad.tar.bz2 volse-hubzilla-a26774b99e1cf3e69df4f527e2c4c4443dce63ad.zip |
fix mod cal regression
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Cal.php | 3 |
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(); |