From a0c8a442283ee1690113b07eb4044f82f51668ab Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Thu, 26 Jan 2006 08:42:18 +0000
Subject: [PATCH] - Patch #45076 by m3avrck: fix bad markup and title for some
 watchdog warnings.

---
 modules/watchdog.module          | 2 +-
 modules/watchdog/watchdog.module | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/watchdog.module b/modules/watchdog.module
index 3c66a7564624..32ffb4f69776 100644
--- a/modules/watchdog.module
+++ b/modules/watchdog.module
@@ -120,7 +120,7 @@ function watchdog_overview() {
         $icons[$watchdog->severity],
         t($watchdog->type),
         format_date($watchdog->timestamp, 'small'),
-        l(truncate_utf8($watchdog->message, 64), 'admin/logs/event/'. $watchdog->wid, array(), NULL, NULL, FALSE, TRUE),
+        l(truncate_utf8($watchdog->message, 56, TRUE, TRUE), 'admin/logs/event/'. $watchdog->wid, array(), NULL, NULL, FALSE, TRUE),
         theme('username', $watchdog),
         $watchdog->link,
       ),
diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module
index 3c66a7564624..32ffb4f69776 100644
--- a/modules/watchdog/watchdog.module
+++ b/modules/watchdog/watchdog.module
@@ -120,7 +120,7 @@ function watchdog_overview() {
         $icons[$watchdog->severity],
         t($watchdog->type),
         format_date($watchdog->timestamp, 'small'),
-        l(truncate_utf8($watchdog->message, 64), 'admin/logs/event/'. $watchdog->wid, array(), NULL, NULL, FALSE, TRUE),
+        l(truncate_utf8($watchdog->message, 56, TRUE, TRUE), 'admin/logs/event/'. $watchdog->wid, array(), NULL, NULL, FALSE, TRUE),
         theme('username', $watchdog),
         $watchdog->link,
       ),
-- 
GitLab