aboutsummaryrefslogtreecommitdiffstats
path: root/mod/events.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-13 18:08:13 -0800
committerfriendica <info@friendica.com>2015-01-13 18:08:13 -0800
commitbd5f00fa055d866689b823b84168cbbbab3a6ab5 (patch)
treebb081ac8acd5a3245e7022f64589bbf5d3c0180b /mod/events.php
parente528483d8150b1495e96de5309ed383a5fd6e09b (diff)
parent111bbe65d9f671f598b68da63d74555d68973358 (diff)
downloadvolse-hubzilla-bd5f00fa055d866689b823b84168cbbbab3a6ab5.tar.gz
volse-hubzilla-bd5f00fa055d866689b823b84168cbbbab3a6ab5.tar.bz2
volse-hubzilla-bd5f00fa055d866689b823b84168cbbbab3a6ab5.zip
Merge branch 'pafcu-moretagging'
Diffstat (limited to 'mod/events.php')
-rwxr-xr-xmod/events.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/events.php b/mod/events.php
index e016311d5..28a816ea4 100755
--- a/mod/events.php
+++ b/mod/events.php
@@ -75,6 +75,10 @@ function events_post(&$a) {
$location = escape_tags(trim($_POST['location']));
$type = 'event';
+ require_once('include/text.php');
+ linkify_tags($a, $desc, local_user());
+ linkify_tags($a, $location, local_user());
+
$action = ($event_hash == '') ? 'new' : "event/" . $event_hash;
$onerror_url = $a->get_baseurl() . "/events/" . $action . "?summary=$summary&description=$desc&location=$location&start=$start_text&finish=$finish_text&adjust=$adjust&nofinish=$nofinish";
if(strcmp($finish,$start) < 0 && !$nofinish) {