diff options
Diffstat (limited to 'modules/watchdog/watchdog.module')
-rw-r--r-- | modules/watchdog/watchdog.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module index 68f460c35..4793132b9 100644 --- a/modules/watchdog/watchdog.module +++ b/modules/watchdog/watchdog.module @@ -104,7 +104,7 @@ function watchdog_overview() { t($watchdog->type), format_date($watchdog->timestamp, 'small'), truncate_utf8($watchdog->message, 64), - format_name($watchdog), + theme('username', $watchdog), $watchdog->link, l(t('details'), "admin/logs/event/$watchdog->wid") ), @@ -139,7 +139,7 @@ function watchdog_event($id) { $output .= '<table border="1" cellpadding="2" cellspacing="2">'; $output .= ' <tr><th>'. t('Type') .'</th><td>' . t($watchdog->type) . '</td></tr>'; $output .= ' <tr><th>'. t('Date') .'</th><td>'. format_date($watchdog->timestamp, 'large') .'</td></tr>'; - $output .= ' <tr><th>'. t('User') .'</th><td>'. format_name($watchdog) .'</td></tr>'; + $output .= ' <tr><th>'. t('User') .'</th><td>'. theme('username', $watchdog) .'</td></tr>'; $output .= ' <tr><th>'. t('Location') ."</th><td>". l($watchdog->location, $watchdog->location) ."</td></tr>"; $output .= ' <tr><th>'. t('Referrer') ."</th><td>". l($watchdog->referer, $watchdog->referer) ."</td></tr>"; $output .= ' <tr><th>'. t('Message') ."</th><td>$watchdog->message</td></tr>"; |