aboutsummaryrefslogtreecommitdiffstats
path: root/mod/editpost.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-08-19 16:50:32 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-08-19 16:50:32 -0700
commita4caaefd32ca68f45f7526dde61d17e8ca3dc3af (patch)
tree6d428adcffc2956b0a2e5688bbbb33ec7917ce23 /mod/editpost.php
parent4e3d295c909405da61d7ccd6c7bd99bd35c9feec (diff)
downloadvolse-hubzilla-a4caaefd32ca68f45f7526dde61d17e8ca3dc3af.tar.gz
volse-hubzilla-a4caaefd32ca68f45f7526dde61d17e8ca3dc3af.tar.bz2
volse-hubzilla-a4caaefd32ca68f45f7526dde61d17e8ca3dc3af.zip
event integration improvements
Diffstat (limited to 'mod/editpost.php')
-rw-r--r--mod/editpost.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/editpost.php b/mod/editpost.php
index 235ae9def..daca7c154 100644
--- a/mod/editpost.php
+++ b/mod/editpost.php
@@ -32,6 +32,12 @@ function editpost_content(&$a) {
return;
}
+ if($itm[0]['resource_type'] === 'event' && $itm[0]['resource_id']) {
+ goaway(z_root() . '/events/event/' . $itm[0]['resource_id']);
+ }
+
+
+
$plaintext = true;
// if(feature_enabled(local_channel(),'richtext'))
// $plaintext = false;