Skip to content

Commit

Permalink
improvement: added ID of event in title
Browse files Browse the repository at this point in the history
  • Loading branch information
interduo committed Mar 19, 2024
1 parent 51f06a6 commit 574a025
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/eventinfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,17 @@

if (!$_GET['id']) {
$SESSION->redirect('?m=eventlist');
} else {
$id = intval($_GET['id']);
}
$user_row_limit = ConfigHelper::getConfig(
'timetable.row_user_limit',
ConfigHelper::getConfig('phpui.timetable_user_row_limit', 4)
);

$event = $LMS->GetEvent($_GET['id']);
$event = $LMS->GetEvent($id);

$layout['pagetitle'] = trans('Event Info');
$layout['pagetitle'] = trans('Event Info') . '#' . $id;

$SESSION->add_history_entry();

Expand Down

0 comments on commit 574a025

Please sign in to comment.