Permalink
Browse files

No filter form alter if wysiwyg is present.

  • Loading branch information...
1 parent 51f3940 commit 8c1ac6dd9e5448f97526810d0cc1209e5b52ddb4 @yhahn yhahn committed Aug 10, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 template.php
View
@@ -238,7 +238,9 @@ function rubik_preprocess_form_node(&$vars) {
* Preprocessor for formatting input filter forms.
*/
function rubik_preprocess_form_filter(&$vars) {
- _rubik_filter_form_alter($vars['form']);
+ if (!module_exists('wysiwyg')) {
+ _rubik_filter_form_alter($vars['form']);
+ }
}
/**

0 comments on commit 8c1ac6d

Please sign in to comment.