From 1b291a2917a1c18194c54fce8bf0fd895db98019 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 18 May 2006 14:58:57 +0000 Subject: - Patch #18260 by Ber, m3averck et al: allow overriding of links returned by modules --- modules/statistics.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/statistics.module') diff --git a/modules/statistics.module b/modules/statistics.module index f6510221e..67dfa7645 100644 --- a/modules/statistics.module +++ b/modules/statistics.module @@ -99,7 +99,7 @@ function statistics_link($type, $node = 0, $main = 0) { if ($type != 'comment' && user_access('view post access counter')) { $statistics = statistics_get($node->nid); if ($statistics) { - $links[] = format_plural($statistics['totalcount'], '1 read', '%count reads'); + $links['statistics_counter']['#title'] = format_plural($statistics['totalcount'], '1 read', '%count reads'); } } -- cgit v1.2.3