Skip to content
Permalink
Browse files

Fix event conflict links

  • Loading branch information...
chrisgraham committed May 31, 2019
1 parent 59dc005 commit 1b57f872cfeed234569fe8a0b00fb9ae0d5147b8
Showing with 1 addition and 1 deletion.
  1. +1 −1 sources/calendar.php
@@ -1035,7 +1035,7 @@ function detect_conflicts($member_id, $skip_id, $start_year, $start_month, $star
$protected = !has_privacy_access('event', strval($event['id']));
}
$url = build_url(array('page' => '_SELF', 'type' => 'view', 'id' => $id), '_SELF');
$url = build_url(array('page' => 'calendar', 'type' => 'view', 'id' => $id), get_module_zone('calendar'));
$conflict = (!$protected) ? make_string_tempcode(get_translated_text($event['e_title'])) : do_lang_tempcode('PRIVATE_HIDDEN');
$out->attach(do_template('CALENDAR_EVENT_CONFLICT', array('_GUID' => '2e209eae2dfe2ee74df61c0f4ffe1651', 'URL' => $url, 'ID' => strval($id), 'TITLE' => $conflict)));
}

0 comments on commit 1b57f87

Please sign in to comment.
You can’t perform that action at this time.