summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/filter.module8
-rw-r--r--modules/filter/filter.module8
2 files changed, 8 insertions, 8 deletions
diff --git a/modules/filter.module b/modules/filter.module
index dc705fd89..82a7eb4a0 100644
--- a/modules/filter.module
+++ b/modules/filter.module
@@ -819,10 +819,6 @@ function filter_form($value = FILTER_FORMAT_DEFAULT, $weight = NULL, $parents =
'#description' => theme('filter_tips', _filter_tips($format->format, false)),
);
}
- $form[] = array(
- '#type' => 'markup',
- '#value' => $extra,
- );
}
else {
// Only one format available: use a hidden form item and only show tips.
@@ -834,6 +830,10 @@ function filter_form($value = FILTER_FORMAT_DEFAULT, $weight = NULL, $parents =
'#value' => theme('filter_tips', $tips, false, $extra),
);
}
+ $form[] = array(
+ '#type' => 'markup',
+ '#value' => $extra,
+ );
return $form;
}
diff --git a/modules/filter/filter.module b/modules/filter/filter.module
index dc705fd89..82a7eb4a0 100644
--- a/modules/filter/filter.module
+++ b/modules/filter/filter.module
@@ -819,10 +819,6 @@ function filter_form($value = FILTER_FORMAT_DEFAULT, $weight = NULL, $parents =
'#description' => theme('filter_tips', _filter_tips($format->format, false)),
);
}
- $form[] = array(
- '#type' => 'markup',
- '#value' => $extra,
- );
}
else {
// Only one format available: use a hidden form item and only show tips.
@@ -834,6 +830,10 @@ function filter_form($value = FILTER_FORMAT_DEFAULT, $weight = NULL, $parents =
'#value' => theme('filter_tips', $tips, false, $extra),
);
}
+ $form[] = array(
+ '#type' => 'markup',
+ '#value' => $extra,
+ );
return $form;
}