summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--authorize.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/authorize.php b/authorize.php
index ee2288944..eb9a753a5 100644
--- a/authorize.php
+++ b/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.