summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-05-12 08:37:45 +0000
committerDries Buytaert <dries@buytaert.net>2009-05-12 08:37:45 +0000
commit847304a2934b062544e87160ec8524e9275e8247 (patch)
tree9dfd13d0402d9a109694e9a4e4ad931201da0ec1 /install.php
parentda87545c487eb2e46dbc6c7b9e054b2e5be4a5b0 (diff)
downloadbrdo-847304a2934b062544e87160ec8524e9275e8247.tar.gz
brdo-847304a2934b062544e87160ec8524e9275e8247.tar.bz2
- Patch #353069 by Moshe Weitzman, dmitrig01: make drupal_get_form() return unrendered forms.
Diffstat (limited to 'install.php')
-rw-r--r--install.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/install.php b/install.php
index 67e65084d..194c5abb3 100644
--- a/install.php
+++ b/install.php
@@ -212,7 +212,7 @@ function install_change_settings($profile = 'default', $install_locale = '') {
include_once DRUPAL_ROOT . '/includes/form.inc';
install_task_list('database');
- $output = drupal_get_form('install_settings_form', $profile, $install_locale, $settings_file, $database);
+ $output = drupal_render(drupal_get_form('install_settings_form', $profile, $install_locale, $settings_file, $database));
drupal_set_title(st('Database configuration'));
print theme('install_page', $output);
exit;
@@ -433,7 +433,7 @@ function install_select_profile() {
install_task_list('profile-select');
drupal_set_title(st('Select an installation profile'));
- print theme('install_page', drupal_get_form('install_select_profile_form', $profiles));
+ print theme('install_page', drupal_render(drupal_get_form('install_select_profile_form', $profiles)));
exit;
}
}
@@ -560,7 +560,8 @@ function install_select_locale($profilename) {
install_task_list('locale-select');
drupal_set_title(st('Choose language'));
- print theme('install_page', drupal_get_form('install_select_locale_form', $locales));
+
+ print theme('install_page', drupal_render(drupal_get_form('install_select_locale_form', $locales)));
exit;
}
}
@@ -703,7 +704,7 @@ function install_tasks($profile, $task) {
// got accidentally blown somewhere. Stop it now.
install_already_done_error();
}
- $form = drupal_get_form('install_configure_form', $url);
+ $form = drupal_render(drupal_get_form('install_configure_form', $url));
if (!variable_get('site_name', FALSE) && !variable_get('site_mail', FALSE)) {
// Not submitted yet: Prepare to display the form.