diff --git a/core/authorize.php b/core/authorize.php index 8b44e36..afafc42 100644 --- a/core/authorize.php +++ b/core/authorize.php @@ -131,8 +131,7 @@ function authorize_access_allowed() { } elseif (!$batch = batch_get()) { // We have a batch to process, show the filetransfer form. - $elements = \Drupal::formBuilder()->getForm('Drupal\Core\FileTransfer\Form\FileTransferAuthorizeForm'); - $output = drupal_render($elements); + $output = \Drupal::formBuilder()->getForm('Drupal\Core\FileTransfer\Form\FileTransferAuthorizeForm'); } } // We defer the display of messages until all operations are done.