From 9f1a10cdcecc60eb845c8eb526ae10322e626ade Mon Sep 17 00:00:00 2001
From: Travis Carden <TravisCarden@236758.no-reply.drupal.org>
Date: Mon, 27 Feb 2012 09:11:24 -0600
Subject: [PATCH] Issue #933222: Fixed rubik_filter_form() breaks WYSIWYG functionality.

---
 template.php |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/template.php b/template.php
index 09910a0..4f8486a 100644
--- a/template.php
+++ b/template.php
@@ -523,6 +523,9 @@ function rubik_filter_form($form) {
       $select .= drupal_render($form[$key]);
     }
   }
+  if (!$select) {
+    $select = drupal_render($form['format']);
+  }
   $help = theme('filter_tips_more_info');
   $output = "<div class='filter-options clear-block'>{$select}{$help}</div>";
   return $output;
-- 
1.7.4.1

