diff --git authorize.php authorize.php
index 0a667ec..8ece5e1 100644
--- authorize.php
+++ authorize.php
@@ -158,7 +158,8 @@ if (authorize_access_allowed()) {
     }
     elseif (!$batch = batch_get()) {
       // We have a batch to process, show the filetransfer form.
-      $output = drupal_render(drupal_get_form('authorize_filetransfer_form'));
+      $elements = drupal_get_form('authorize_filetransfer_form');
+      $output = drupal_render($elements);
     }
   }
   // We defer the display of messages until all operations are done.
