Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
search_config
Commits
d467fe90
Commit
d467fe90
authored
Feb 12, 2007
by
Nesta Campbell
Browse files
Fixed node_type call.
parent
54343ef7
Changes
1
Hide whitespace changes
Inline
Side-by-side
search_config.module
View file @
d467fe90
...
...
@@ -68,7 +68,7 @@ function search_config_form_alter($form_id, &$form) {
unset
(
$form
[
'advanced'
][
'type'
]);
}
else
{
$types
=
node_get_types
();
$types
=
node_get_types
(
'names'
);
foreach
(
$types
as
$module
=>
$type
)
{
if
(
$remove
[
$module
])
{
...
...
@@ -198,7 +198,7 @@ function search_config_search($op) {
}
// Node types
$types
=
node_get_types
();
$types
=
node_get_types
(
'names'
);
$types
=
array_merge
(
array
(
'all'
=>
'Disable all'
),
$types
);
$form
[
'search_config'
][
'type'
]
=
array
(
...
...
Write
Preview
Supports
Markdown
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