disable form patch

http://drupal.org/node/1512086
Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy
2012-07-22 16:27:00 +02:00
parent 5e63575d94
commit 256475e716
4 changed files with 320 additions and 1 deletions
+3 -1
View File
@@ -22,7 +22,9 @@ function search_api_page_view($id, $keys = NULL) {
$page->options['per_page'] = (int) $_GET['per_page'];
}
$ret['form'] = drupal_get_form('search_api_page_search_form', $page, $keys);
if ($page->options['result_page_search_form']) {
$ret['form'] = drupal_get_form('search_api_page_search_form', $page, $keys);
}
if ($keys) {
try {