Skip to content
Snippets Groups Projects
Commit 3c61a382 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Bugfix: there was an errant </a> tag with no opening tag.  Patch by Al.
parent f21742c7
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -50,7 +50,7 @@ function watchdog_overview($type) { ...@@ -50,7 +50,7 @@ function watchdog_overview($type) {
while ($watchdog = db_fetch_object($result)) { while ($watchdog = db_fetch_object($result)) {
if ($background = $color[$watchdog->type]) { if ($background = $color[$watchdog->type]) {
$data .= " <tr bgcolor=\"$background\"><td nowrap=\"nowrap\">". format_date($watchdog->timestamp, "small") ."</td><td>". substr(strip_tags($watchdog->message), 0, 64) ."</td><td align=\"center\">". format_name($watchdog) ."</a></td><td align=\"center\">$watchdog->link</td><td align=\"center\">". l(t("view details"), "admin/watchdog/view/$watchdog->wid") ."</td></tr>"; $data .= " <tr bgcolor=\"$background\"><td nowrap=\"nowrap\">". format_date($watchdog->timestamp, "small") ."</td><td>". substr(strip_tags($watchdog->message), 0, 64) ."</td><td align=\"center\">". format_name($watchdog) ."</td><td align=\"center\">$watchdog->link</td><td align=\"center\">". l(t("view details"), "admin/watchdog/view/$watchdog->wid") ."</td></tr>";
} }
} }
......
...@@ -50,7 +50,7 @@ function watchdog_overview($type) { ...@@ -50,7 +50,7 @@ function watchdog_overview($type) {
while ($watchdog = db_fetch_object($result)) { while ($watchdog = db_fetch_object($result)) {
if ($background = $color[$watchdog->type]) { if ($background = $color[$watchdog->type]) {
$data .= " <tr bgcolor=\"$background\"><td nowrap=\"nowrap\">". format_date($watchdog->timestamp, "small") ."</td><td>". substr(strip_tags($watchdog->message), 0, 64) ."</td><td align=\"center\">". format_name($watchdog) ."</a></td><td align=\"center\">$watchdog->link</td><td align=\"center\">". l(t("view details"), "admin/watchdog/view/$watchdog->wid") ."</td></tr>"; $data .= " <tr bgcolor=\"$background\"><td nowrap=\"nowrap\">". format_date($watchdog->timestamp, "small") ."</td><td>". substr(strip_tags($watchdog->message), 0, 64) ."</td><td align=\"center\">". format_name($watchdog) ."</td><td align=\"center\">$watchdog->link</td><td align=\"center\">". l(t("view details"), "admin/watchdog/view/$watchdog->wid") ."</td></tr>";
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment