Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
5bd07f4b
Commit
5bd07f4b
authored
May 23, 2003
by
Dries
Browse files
- Fixed search module bug. Patch by Michael.
parent
210203a7
Changes
3
Hide whitespace changes
Inline
Side-by-side
includes/common.inc
View file @
5bd07f4b
...
...
@@ -317,7 +317,7 @@ function search_item($item, $type) {
* ("Restrict search to", help text, etc).
*/
function
search_form
(
$action
=
0
,
$query
=
0
,
$options
=
0
)
{
global
$
keys
;
$keys
=
$_POST
[
"
keys
"
]
;
if
(
!
$action
)
{
$action
=
url
(
"search"
);
...
...
@@ -350,8 +350,8 @@ function search_form($action = 0, $query = 0, $options = 0) {
* Collect the search results:
*/
function
search_data
()
{
global
$keys
;
$keys
=
$_POST
[
"keys"
];
$edit
=
$_POST
[
"edit"
];
if
(
isset
(
$keys
))
{
...
...
modules/search.module
View file @
5bd07f4b
...
...
@@ -358,7 +358,7 @@ function search_view($keys = NULL) {
}
function
search_page
()
{
global
$
keys
;
$keys
=
$_POST
[
"
keys
"
]
;
switch
(
arg
(
1
))
{
case
"help"
:
...
...
modules/search/search.module
View file @
5bd07f4b
...
...
@@ -358,7 +358,7 @@ function search_view($keys = NULL) {
}
function
search_page
()
{
global
$
keys
;
$keys
=
$_POST
[
"
keys
"
]
;
switch
(
arg
(
1
))
{
case
"help"
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment