summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/contexts/node_add_form.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/contexts/node_add_form.inc b/plugins/contexts/node_add_form.inc
index 4111f16..5521933 100644
--- a/plugins/contexts/node_add_form.inc
+++ b/plugins/contexts/node_add_form.inc
@@ -90,8 +90,8 @@ function ctools_context_node_add_form_settings_form($form, &$form_state) {
$form['type'] = array(
'#title' => t('Node type'),
'#type' => 'select',
- '#options' => $options,
- '#default_value' => node_type_get_names(),
+ '#options' => node_type_get_names(),
+ '#default_value' => $conf['type'],
'#description' => t('Select the node type for this form.'),
);