Allow tags in event description and location

This commit is contained in:
Stefan Parviainen 2015-01-13 18:23:52 +01:00
parent 93735df2c7
commit 47a2668b30

View File

@ -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) {