diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-05-17 07:43:36 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-05-17 07:43:36 +0000 |
commit | 689d51747bf970383336bf317b07ab5da03a20b8 (patch) | |
tree | 1c601df74cd627c2c983485c0fd72cc539cad0a3 | |
parent | f11db319d06d1d6b299e2816e6cc0bc29a7b9d73 (diff) | |
download | brdo-689d51747bf970383336bf317b07ab5da03a20b8.tar.gz brdo-689d51747bf970383336bf317b07ab5da03a20b8.tar.bz2 |
- Patch #797458 by Heine: declaration of NodeController::buildQuery() should be compatible with that of DrupalDefaultEntityController::buildQuery().
-rw-r--r-- | modules/node/node.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index d38fb5079..4de27a479 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -3647,7 +3647,7 @@ class NodeController extends DrupalDefaultEntityController { parent::attachLoad($nodes, $revision_id); } - protected function buildQuery($ids, $conditions, $revision_id) { + protected function buildQuery($ids, $conditions = array(), $revision_id = FALSE) { // Ensure that uid is taken from the {node} table, // alias timestamp to revision_timestamp and add revision_uid. $query = parent::buildQuery($ids, $conditions, $revision_id); |