aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Editpost.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-04-30 10:47:48 +0200
committerMario Vavti <mario@mariovavti.com>2019-04-30 10:47:48 +0200
commit0b062d0b8ae89b40b4e036f874f6af3780c30451 (patch)
treedd37934714db3344ce7770c14755f7a62c92c25b /Zotlabs/Module/Editpost.php
parent9cc1eff15cae3884458a6f7171140f2780665ff7 (diff)
downloadvolse-hubzilla-0b062d0b8ae89b40b4e036f874f6af3780c30451.tar.gz
volse-hubzilla-0b062d0b8ae89b40b4e036f874f6af3780c30451.tar.bz2
volse-hubzilla-0b062d0b8ae89b40b4e036f874f6af3780c30451.zip
select event by event_hash instead of item_id
Diffstat (limited to 'Zotlabs/Module/Editpost.php')
-rw-r--r--Zotlabs/Module/Editpost.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Editpost.php b/Zotlabs/Module/Editpost.php
index 77f139467..49b2892e8 100644
--- a/Zotlabs/Module/Editpost.php
+++ b/Zotlabs/Module/Editpost.php
@@ -45,7 +45,7 @@ class Editpost extends \Zotlabs\Web\Controller {
}
if($itm[0]['resource_type'] === 'event' && $itm[0]['resource_id']) {
- goaway(z_root() . '/cdav/calendar/' . $itm[0]['id']);
+ goaway(z_root() . '/cdav/calendar/' . $itm[0]['resource_id']);
//goaway(z_root() . '/events/' . $itm[0]['resource_id'] . '?expandform=1');
}