diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-11-04 14:46:11 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-11-04 14:46:11 +0000 |
commit | a6407c2a2445a2542eb34efda30e5de59cf38576 (patch) | |
tree | d18d6a7b9e9f554e26ab2fe8c3b3852e2b2501d5 /modules/taxonomy | |
parent | 91e980a27162ae618ec188c00f44c9abf0c708c5 (diff) | |
download | brdo-a6407c2a2445a2542eb34efda30e5de59cf38576.tar.gz brdo-a6407c2a2445a2542eb34efda30e5de59cf38576.tar.bz2 |
#185124 by JirkaRybka: fix notices in taxonomy module displayed on 404 pages
Diffstat (limited to 'modules/taxonomy')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 906908396..ff7283dd7 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -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 ' '. |