projects
/
project/ctools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c9cc5ca
)
Issue #1109048: Stupid typo preventing noe add form context from working.
author
Earl Miles
Thu, 21 Apr 2011 23:54:38 +0000 (16:54 -0700)
committer
Earl Miles
Thu, 21 Apr 2011 23:54:38 +0000 (16:54 -0700)
plugins/contexts/node_add_form.inc
patch
|
blob
|
blame
|
history
diff --git
a/plugins/contexts/node_add_form.inc
b/plugins/contexts/node_add_form.inc
index
4111f16
..
5521933
100644
(file)
--- 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.'),
);