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
a6407c2a
Commit
a6407c2a
authored
Nov 04, 2007
by
Gábor Hojtsy
Browse files
#185124
by JirkaRybka: fix notices in taxonomy module displayed on 404 pages
parent
91e980a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/taxonomy/taxonomy.module
View file @
a6407c2a
...
...
@@ -1072,7 +1072,7 @@ function taxonomy_node_update_index(&$node) {
* or 'or') and a tid key containing an array of the term ids.
*/
function
taxonomy_terms_parse_string
(
$str_tids
)
{
$terms
=
array
();
$terms
=
array
(
'operator'
=>
''
,
'tids'
=>
array
()
);
if
(
preg_match
(
'/^([0-9]+[+ ])+[0-9]+$/'
,
$str_tids
))
{
$terms
[
'operator'
]
=
'or'
;
// The '+' character in a query string may be parsed as ' '.
...
...
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