Skip to content

Commit

Permalink
Don't strictly need to pass the first offset.
Browse files Browse the repository at this point in the history
Comment it out to document that it's intended to be the 0th, explicitly?
  • Loading branch information
adam-vessey committed Mar 4, 2024
1 parent 1c371d7 commit 15b901b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embargo.module
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ function _embargo_search_api_track(EntityInterface $entity) : void {
->fields('lut', ['mid', 'fid'])
->condition('nid', $node->id())
->execute();
$media_ids = array_unique($results->fetchCol(0));
$media_ids = array_unique($results->fetchCol(/* 0 */));
$file_ids = array_unique($results->fetchCol(1));

$entity_type_manager = \Drupal::entityTypeManager();
Expand Down

0 comments on commit 15b901b

Please sign in to comment.