diff options
author | David Rothstein <drothstein@gmail.com> | 2012-07-08 23:15:16 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2012-07-08 23:15:16 -0400 |
commit | 2c7f5090503cb7e7165cee9882b2eb31ba04cd39 (patch) | |
tree | 7998529f695e5661fc1e41b1253267bd7be1e8dc /modules/taxonomy | |
parent | 0961b00c3d3f4649785ba11fe0dd51e13e8d1dd7 (diff) | |
download | brdo-2c7f5090503cb7e7165cee9882b2eb31ba04cd39.tar.gz brdo-2c7f5090503cb7e7165cee9882b2eb31ba04cd39.tar.bz2 |
Issue #1525138 by twistor, Georgique: Fixed Illegal string offset 'field' in function TaxonomyTermController->buildQuery().
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 ee12be718..a3075e95c 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -1136,7 +1136,7 @@ class TaxonomyTermController extends DrupalDefaultEntityController { if (isset($conditions['name'])) { $query_conditions = &$query->conditions(); foreach ($query_conditions as $key => $condition) { - if ($condition['field'] == 'base.name') { + if (is_array($condition) && $condition['field'] == 'base.name') { $query_conditions[$key]['operator'] = 'LIKE'; $query_conditions[$key]['value'] = db_like($query_conditions[$key]['value']); } |