Skip to content
Snippets Groups Projects
Commit 689d5174 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #797458 by Heine: declaration of NodeController::buildQuery() should...

- Patch #797458 by Heine: declaration of NodeController::buildQuery() should be compatible with that of DrupalDefaultEntityController::buildQuery().
parent f11db319
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -3647,7 +3647,7 @@ protected function attachLoad(&$nodes, $revision_id = FALSE) {
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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment