Commit 21606457 authored by webchick's avatar webchick

Issue #2337619 by alexpott: Fixed...

Issue #2337619 by alexpott: Fixed Drupal\views\Plugin\views\query\Sql::buildCondition is checking for a non existing class.
parent f61ad20b
......@@ -1031,12 +1031,6 @@ protected function buildCondition($where = 'where') {
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']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment