summaryrefslogtreecommitdiff
path: root/modules/search.module
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2006-04-15 21:52:44 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2006-04-15 21:52:44 +0000
commitfb8ef283759abcd270bc727fd4af65ddc0fe5b84 (patch)
tree8a64647660167d931cb6a7462de4637378dfb8a1 /modules/search.module
parent8b04c7f0db4a7a483049635f961d1dcba7e568f1 (diff)
downloadbrdo-fb8ef283759abcd270bc727fd4af65ddc0fe5b84.tar.gz
brdo-fb8ef283759abcd270bc727fd4af65ddc0fe5b84.tar.bz2
#56921: Remove all reference magic from form api. w00t.
Diffstat (limited to 'modules/search.module')
-rw-r--r--modules/search.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search.module b/modules/search.module
index 4cc487e41..cf4cbc4e9 100644
--- a/modules/search.module
+++ b/modules/search.module
@@ -1006,7 +1006,7 @@ function search_form($action = '', $keys = '', $type = NULL, $prompt = NULL) {
* search form.
*/
function search_form_validate($form_id, $form_values, $form) {
- $form['basic']['inline']['processed_keys']['#ref'] = trim($form_values['keys']);
+ form_set_value($form['basic']['inline']['processed_keys'], trim($form_values['keys']));
}
/**