aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search/fulltext_phpbb.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2006-03-23 19:23:52 +0000
committerNils Adermann <naderman@naderman.de>2006-03-23 19:23:52 +0000
commit56a70484ef567d2a6c238cd22bf5f3bb106f52a3 (patch)
treedf18c4ebb726cc6393681568554bb33994158783 /phpBB/includes/search/fulltext_phpbb.php
parentcccada69c0def66e4f4f8059c79a53dfa2ae20db (diff)
downloadforums-56a70484ef567d2a6c238cd22bf5f3bb106f52a3.tar
forums-56a70484ef567d2a6c238cd22bf5f3bb106f52a3.tar.gz
forums-56a70484ef567d2a6c238cd22bf5f3bb106f52a3.tar.bz2
forums-56a70484ef567d2a6c238cd22bf5f3bb106f52a3.tar.xz
forums-56a70484ef567d2a6c238cd22bf5f3bb106f52a3.zip
- some adjustments for search related config options
- one year is 365 days long (52 * 7 = 364, but we have one more day each year ;-)) [Bug #1181] - fixed search own posts link in UCP [Bug #1163] - corrections to timezone selection [Bug #1148] - fix quickmod tools on post details page [Bug #1188] git-svn-id: file:///svn/phpbb/trunk@5705 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/search/fulltext_phpbb.php')
-rw-r--r--phpBB/includes/search/fulltext_phpbb.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/search/fulltext_phpbb.php b/phpBB/includes/search/fulltext_phpbb.php
index 9ea3c5f4cd..6d9a33baaa 100644
--- a/phpBB/includes/search/fulltext_phpbb.php
+++ b/phpBB/includes/search/fulltext_phpbb.php
@@ -1039,11 +1039,11 @@ class fulltext_phpbb extends search_backend
</dl>
<dl>
<dt><label for="fulltext_phpbb_min_search_chars">' . $user->lang['MIN_SEARCH_CHARS'] . ':</label><br /><span>' . $user->lang['MIN_SEARCH_CHARS_EXPLAIN'] . '</span></dt>
- <dd><input id="fulltext_phpbb_min_search_chars" type="text" size="3" maxlength="3" name="config[fulltext_phpbb_min_search_chars]" value="' . $config['fulltext_phpbb_min_search_chars'] . '" /></dd>
+ <dd><input id="fulltext_phpbb_min_search_chars" type="text" size="3" maxlength="3" name="config[fulltext_phpbb_min_search_chars]" value="' . (int) $config['fulltext_phpbb_min_search_chars'] . '" /></dd>
</dl>
<dl>
<dt><label for="fulltext_phpbb_max_search_chars">' . $user->lang['MAX_SEARCH_CHARS'] . ':</label><br /><span>' . $user->lang['MAX_SEARCH_CHARS_EXPLAIN'] . '</span></dt>
- <dd><input id="fulltext_phpbb_max_search_chars" type="text" size="3" maxlength="3" name="config[fulltext_phpbb_max_search_chars]" value="' . $config['fulltext_phpbb_max_search_chars'] . '" /></dd>
+ <dd><input id="fulltext_phpbb_max_search_chars" type="text" size="3" maxlength="3" name="config[fulltext_phpbb_max_search_chars]" value="' . (int) $config['fulltext_phpbb_max_search_chars'] . '" /></dd>
</dl>
';