summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/filter.module4
-rw-r--r--modules/filter/filter.module4
2 files changed, 4 insertions, 4 deletions
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 .= "<ul class=\"tips\">$tips</ul>";
}
-
+
if ($multiple) {
$output .= '</li>';
}
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 &lt;?php ?&gt; tags.');
case 1:
@@ -742,7 +742,7 @@ function theme_filter_tips($tips, $long = false, $extra = '') {
if ($tips) {
$output .= "<ul class=\"tips\">$tips</ul>";
}
-
+
if ($multiple) {
$output .= '</li>';
}