summaryrefslogtreecommitdiff
path: root/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'search.php')
-rw-r--r--search.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/search.php b/search.php
index cc97df4e47..00ee1f76dd 100644
--- a/search.php
+++ b/search.php
@@ -25,7 +25,7 @@ define('WT_SCRIPT_NAME', 'search.php');
require './includes/session.php';
require_once WT_ROOT.'includes/functions/functions_print_lists.php';
-$controller=new WT_Controller_Search();
+$controller = new WT_Controller_Search();
$controller
->pageHeader()
->addExternalJavascript(WT_STATIC_URL . 'js/autocomplete.js')
@@ -125,8 +125,7 @@ echo '<div id="search-page">
box.form.replaceNames.disabled = false;
box.form.replacePlaces.disabled = false;
box.form.replacePlacesWord.disabled = false;
- }
- else {
+ } else {
box.form.replaceNames.disabled = true;
box.form.replacePlaces.disabled = true;
box.form.replacePlacesWord.disabled = true;