summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-12-26 11:21:19 +0000
committerDries Buytaert <dries@buytaert.net>2005-12-26 11:21:19 +0000
commited7256f37aba59382494a5a470025a132f8ce00f (patch)
tree5a9219ba354482d583a504d83a566cbb8c0da54b
parent53872d2396f15260a1e7748f477f320296c6eacc (diff)
downloadbrdo-ed7256f37aba59382494a5a470025a132f8ce00f.tar.gz
brdo-ed7256f37aba59382494a5a470025a132f8ce00f.tar.bz2
- Patch #28159 by chx: removed some dead code from the search module's form.
-rw-r--r--modules/node.module2
-rw-r--r--modules/node/node.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/node.module b/modules/node.module
index c4fd58b36..388372458 100644
--- a/modules/node.module
+++ b/modules/node.module
@@ -744,7 +744,7 @@ function node_search($op = 'search', $keys = null) {
// Node types
$types = node_get_types();
- $form['advanced']['type'] = array('#type' => 'checkboxes', '#title' => t('Only of the type'), '#prefix' => '<div class="criterium">', '#suffix' => '</div>', '#options' => $types, '#multiple' => true);
+ $form['advanced']['type'] = array('#type' => 'checkboxes', '#title' => t('Only of the type'), '#prefix' => '<div class="criterium">', '#suffix' => '</div>', '#options' => $types);
$form['advanced']['submit'] = array('#type' => 'submit', '#value' => t('Advanced Search'), '#prefix' => '<div class="action">', '#suffix' => '</div>');
return $form;
diff --git a/modules/node/node.module b/modules/node/node.module
index c4fd58b36..388372458 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -744,7 +744,7 @@ function node_search($op = 'search', $keys = null) {
// Node types
$types = node_get_types();
- $form['advanced']['type'] = array('#type' => 'checkboxes', '#title' => t('Only of the type'), '#prefix' => '<div class="criterium">', '#suffix' => '</div>', '#options' => $types, '#multiple' => true);
+ $form['advanced']['type'] = array('#type' => 'checkboxes', '#title' => t('Only of the type'), '#prefix' => '<div class="criterium">', '#suffix' => '</div>', '#options' => $types);
$form['advanced']['submit'] = array('#type' => 'submit', '#value' => t('Advanced Search'), '#prefix' => '<div class="action">', '#suffix' => '</div>');
return $form;