diff --git a/cmis_query/cmis_query.module b/cmis_query/cmis_query.module
index 39da0f2..56d74d5 100644
--- a/cmis_query/cmis_query.module
+++ b/cmis_query/cmis_query.module
@@ -72,7 +72,7 @@ function cmis_query_view($query = NULL, $format = 'html', $p = 1) {
       break;
 
     default:
-      $contents = drupal_render(drupal_get_form('cmis_query_form', NULL));
+      $contents = drupal_render($tmp = drupal_get_form('cmis_query_form', NULL));
       if ($query_result) {
         $contents .= theme('cmis_query_results', array('rows' => $query_result->objectList));
       }
