diff options
Diffstat (limited to 'modules/watchdog/watchdog.module')
-rw-r--r-- | modules/watchdog/watchdog.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module index a7ed775a8..e0b1c38d2 100644 --- a/modules/watchdog/watchdog.module +++ b/modules/watchdog/watchdog.module @@ -94,7 +94,7 @@ function watchdog_overview($type) { while ($watchdog = db_fetch_object($result)) { $rows[] = array( array("data" => format_date($watchdog->timestamp, "small"), "class" => "watchdog-$watchdog->type"), - array("data" => substr(strip_tags($watchdog->message), 0, 64), "class" => "watchdog-$watchdog->type"), + array("data" => truncate_utf8(strip_tags($watchdog->message), 64), "class" => "watchdog-$watchdog->type"), array("data" => format_name($watchdog), "class" => "watchdog-$watchdog->type"), array("data" => $watchdog->link, "class" => "watchdog-$watchdog->type"), array("data" => l(t("view details"), "admin/watchdog/view/$watchdog->wid"), "class" => "watchdog-$watchdog->type") |