diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-11-10 22:15:24 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-11-10 22:15:24 +0000 |
commit | f546cfa1e832487f85f5f42532087cd206c55c7f (patch) | |
tree | a839c425bc0d2af7b1eebe9980c90ef31e88dca1 /includes/database/select.inc | |
parent | 33d44ba03ee945c770edd7806deebdf9d1845654 (diff) | |
download | brdo-f546cfa1e832487f85f5f42532087cd206c55c7f.tar.gz brdo-f546cfa1e832487f85f5f42532087cd206c55c7f.tar.bz2 |
- Patch #619580 by Crell: only invoke query_alter() on tagged queries.
Diffstat (limited to 'includes/database/select.inc')
-rw-r--r-- | includes/database/select.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/database/select.inc b/includes/database/select.inc index e34f63c05..cda2055ee 100644 --- a/includes/database/select.inc +++ b/includes/database/select.inc @@ -1065,8 +1065,8 @@ class SelectQuery extends Query implements SelectQueryInterface { } // Modules may alter all queries or only those having a particular tag. - drupal_alter('query', $query); if (isset($this->alterTags)) { + drupal_alter('query', $query); foreach ($this->alterTags as $tag => $value) { drupal_alter("query_$tag", $query); } |