private_taxonomy_unwrap_conditions() checks every condition to see if vid is a field on which there is a condition. When vid is used without specifying a table, the call to explode() generates a warning because there is no "." in the condition. For example:

$q = db_select("taxonomy_term_data")->fields('taxonomy_term_data', array('tid'))->addTag("term_access");
$q->condition("vid", 2);
$q->execute();

results in a warning because vid didn't specify its table.

CommentFileSizeAuthor
private_taxonomy-unwrap.patch788 bytesjacob.embree

Comments

jacob.embree created an issue. See original summary.

  • trobey committed 3316113 on 7.x-1.x authored by jacob.embree
    Issue #2944738 by jacob.embree: private_taxonomy_unwrap_conditions() can...
trobey’s picture

Status: Needs review » Fixed

  • trobey committed 6bd9903 on 8.x-2.x
    Issue #2944738 by jacob.embree, trobey:...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.