diff options
-rw-r--r-- | modules/statistics.module | 2 | ||||
-rw-r--r-- | modules/statistics/statistics.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/statistics.module b/modules/statistics.module index 11163a5aa..edb6509ec 100644 --- a/modules/statistics.module +++ b/modules/statistics.module @@ -153,7 +153,7 @@ function statistics_access_log($aid) { $output .= ' <tr><th>'. t('Referrer') ."</th><td>". ($access->url ? l($access->url, $access->url) : '') ."</td></tr>"; $output .= ' <tr><th>'. t('Date') .'</th><td>'. format_date($access->timestamp, 'large') .'</td></tr>'; $output .= ' <tr><th>'. t('User') .'</th><td>'. format_name($access) .'</td></tr>'; - $output .= ' <tr><th>'. t('Hostname') ."</th><td>$watchdog->hostname</td></tr>"; + $output .= ' <tr><th>'. t('Hostname') ."</th><td>$access->hostname</td></tr>"; $output .= '</table>'; print theme('page', $output); } diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index 11163a5aa..edb6509ec 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -153,7 +153,7 @@ function statistics_access_log($aid) { $output .= ' <tr><th>'. t('Referrer') ."</th><td>". ($access->url ? l($access->url, $access->url) : '') ."</td></tr>"; $output .= ' <tr><th>'. t('Date') .'</th><td>'. format_date($access->timestamp, 'large') .'</td></tr>'; $output .= ' <tr><th>'. t('User') .'</th><td>'. format_name($access) .'</td></tr>'; - $output .= ' <tr><th>'. t('Hostname') ."</th><td>$watchdog->hostname</td></tr>"; + $output .= ' <tr><th>'. t('Hostname') ."</th><td>$access->hostname</td></tr>"; $output .= '</table>'; print theme('page', $output); } |