Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improvement: added ID of event in title
Browse files Browse the repository at this point in the history
interduo committed Mar 19, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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
@@ -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();

0 comments on commit 574a025

Please sign in to comment.