Issue #2337619 by alexpott: Fixed Drupal\views\Plugin\views\query\Sql::buildCondition is checking for a non existing class.

8.0.x
webchick 2014-09-20 19:47:49 -07:00
parent f61ad20b84
commit 2160645707
1 changed files with 0 additions and 6 deletions

View File

@ -1031,12 +1031,6 @@ class Sql extends QueryPluginBase {
if (!empty($info['conditions'])) {
$sub_group = $info['type'] == 'OR' ? db_or() : db_and();
foreach ($info['conditions'] as $clause) {
// DBTNG doesn't support to add the same subquery twice to the main
// query and the count query, so clone the subquery to have two instances
// of the same object. - http://drupal.org/node/1112854
if (is_object($clause['value']) && $clause['value'] instanceof SelectQuery) {
$clause['value'] = clone $clause['value'];
}
if ($clause['operator'] == 'formula') {
$has_condition = TRUE;
$sub_group->where($clause['field'], $clause['value']);