Announcements: Avoid duplicate `id attribute

refs #3762
This commit is contained in:
Florian Strohmaier 2019-07-08 13:49:32 +02:00 committed by Johannes Meyer
parent 7eca14386a
commit c492c6bb23
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class Announcements extends AbstractWidget
$announcements = $repo->findActive();
$announcements->applyFilter($acked);
if ($announcements->hasResult()) {
$html = '<ul role="alert" id="announcements">';
$html = '<ul role="alert">';
foreach ($announcements as $announcement) {
$ackForm = new AcknowledgeAnnouncementForm();
$ackForm->populate(array('hash' => $announcement->hash));