From 4bc031b13e098be8bacdd13ffe91d6e91eabe90f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 13 Oct 2004 17:03:06 +0000 Subject: - Patch #11530 by Frodo: fixed long filter tips. --- modules/filter.module | 4 ++-- modules/filter/filter.module | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'modules') diff --git a/modules/filter.module b/modules/filter.module index a67e3d186..5cdd0d46f 100644 --- a/modules/filter.module +++ b/modules/filter.module @@ -72,7 +72,7 @@ function filter_filter_tips($delta, $format, $long = false) { break; case 1: - switch ($type) { + switch ($long) { case 0: return t('You may post PHP code. You should include <?php ?> tags.'); case 1: @@ -742,7 +742,7 @@ function theme_filter_tips($tips, $long = false, $extra = '') { if ($tips) { $output .= ""; } - + if ($multiple) { $output .= ''; } diff --git a/modules/filter/filter.module b/modules/filter/filter.module index a67e3d186..5cdd0d46f 100644 --- a/modules/filter/filter.module +++ b/modules/filter/filter.module @@ -72,7 +72,7 @@ function filter_filter_tips($delta, $format, $long = false) { break; case 1: - switch ($type) { + switch ($long) { case 0: return t('You may post PHP code. You should include <?php ?> tags.'); case 1: @@ -742,7 +742,7 @@ function theme_filter_tips($tips, $long = false, $extra = '') { if ($tips) { $output .= ""; } - + if ($multiple) { $output .= ''; } -- cgit v1.2.3