diff --git a/authorize.php b/authorize.php index ee228894487..eb9a753a509 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.