Skip to content

Commit 92aa4a9

Browse files
Announcements: Fix issue on back button from group announcement
Author: @juan-cortizas-ponte
1 parent b60be69 commit 92aa4a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/inc/lib/AnnouncementManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1915,7 +1915,7 @@ public static function getAnnouncements(
19151915
while ($row = Database::fetch_array($result, 'ASSOC')) {
19161916
if (!in_array($row['id'], $displayed)) {
19171917
$actionUrl = api_get_path(WEB_CODE_PATH).'announcements/announcements.php?'
1918-
.api_get_cidreq_params($courseInfo['code'], $session_id, $row['to_group_id']);
1918+
.api_get_cidreq_params($courseInfo['code'], $session_id, $group_id);
19191919
$sent_to_icon = '';
19201920
// the email icon
19211921
if ($row['email_sent'] == '1') {

0 commit comments

Comments
 (0)