Skip to content

Commit

Permalink
Merge pull request #1792 from pi-hole/fix/adlist_link
Browse files Browse the repository at this point in the history
Fix link from message table to list table
  • Loading branch information
yubiuser authored Nov 28, 2023
2 parents fa6c1c2 + d982b46 commit d52174f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database/message-table.c
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ static void format_inaccessible_adlist_message(char *plain, const int sizeof_pla

char *escaped_address = escape_html(address);

if(snprintf(html, sizeof_html, "<a href=\"groups-adlists.lp?adlist=%i\">List with ID <strong>%d</strong> (<code>%s</code>)</a> was inaccessible during last gravity run",
if(snprintf(html, sizeof_html, "<a href=\"groups/lists?listid=%i\">List with ID <strong>%d</strong> (<code>%s</code>)</a> was inaccessible during last gravity run",
dbindex, dbindex, escaped_address) > sizeof_html)
log_warn("format_inaccessible_adlist_message(): Buffer too small to hold HTML message, warning truncated");

Expand Down

0 comments on commit d52174f

Please sign in to comment.