diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-07-13 21:49:41 -0400 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-07-13 21:49:41 -0400 |
commit | c69b525c382bd24d389e56af3033d5a82051aab1 (patch) | |
tree | 27e524eb45f316d2a84203a14fb5cf483506f3d5 /modules/search/tests/search_embedded_form.module | |
parent | f2d2cf8a85df17c6c3bef236a8db147739529259 (diff) | |
download | brdo-c69b525c382bd24d389e56af3033d5a82051aab1.tar.gz brdo-c69b525c382bd24d389e56af3033d5a82051aab1.tar.bz2 |
Issue #348448 follow-up by jrchamp, catch: Fix E_STRICT errors.
Diffstat (limited to 'modules/search/tests/search_embedded_form.module')
-rw-r--r-- | modules/search/tests/search_embedded_form.module | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/search/tests/search_embedded_form.module b/modules/search/tests/search_embedded_form.module index c0058f74d..484579674 100644 --- a/modules/search/tests/search_embedded_form.module +++ b/modules/search/tests/search_embedded_form.module @@ -65,5 +65,6 @@ function search_embedded_form_form_submit($form, &$form_state) { * Adds the test form to search results. */ function search_embedded_form_preprocess_search_result(&$variables) { - $variables['snippet'] .= drupal_render(drupal_get_form('search_embedded_form_form')); + $form = drupal_get_form('search_embedded_form_form'); + $variables['snippet'] .= drupal_render($form); } |