From 049c6ddd96d727e0ba14ad97cf9a3c6575377669 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 10 Nov 2007 17:41:18 +0000 Subject: - Patch #186496 by Neil: do not overwrite the variable. --- modules/filter/filter.pages.inc | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'modules') diff --git a/modules/filter/filter.pages.inc b/modules/filter/filter.pages.inc index d85d29f1b..20c42095d 100644 --- a/modules/filter/filter.pages.inc +++ b/modules/filter/filter.pages.inc @@ -45,13 +45,12 @@ function theme_filter_tips($tips, $long = FALSE, $extra = '') { $output .= ''. $name .':
'; } - $tips = ''; - foreach ($tiplist as $tip) { - $tips .= '' : '>') . $tip['tip'] .''; - } - - if ($tips) { - $output .= ""; + if (count($tiplist) > 0) { + $output .= ''; } if ($multiple) { -- cgit v1.2.3