diff options
author | webchick | 2012-03-07 18:34:05 (GMT) |
---|---|---|
committer | webchick | 2012-03-07 18:34:16 (GMT) |
commit | f9c539aa210bdeeab9fef3714b73e75e58bd4b43 (patch) | |
tree | 719cf27148f5cb013603ec0dbf80bf86fa9e56ee | |
parent | b3bb147c8c45011d58acfe34fd34fe46e0704cbc (diff) |
Issue #1414412 by pillarsdotnet, MrHaroldA, droplet: Fixed Skip #conjunction key in __clone() method of core/includes/database/query.inc.
-rw-r--r-- | core/lib/Drupal/Core/Database/Query/Condition.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lib/Drupal/Core/Database/Query/Condition.php b/core/lib/Drupal/Core/Database/Query/Condition.php index 9faabc6..f7d2a2f 100644 --- a/core/lib/Drupal/Core/Database/Query/Condition.php +++ b/core/lib/Drupal/Core/Database/Query/Condition.php @@ -260,7 +260,7 @@ class Condition implements ConditionInterface, Countable { function __clone() { $this->changed = TRUE; foreach ($this->conditions as $key => $condition) { - if ($condition['field'] instanceOf ConditionInterface) { + if ($key !== '#conjunction' && $condition['field'] instanceOf ConditionInterface) { $this->conditions[$key]['field'] = clone($condition['field']); } } |