Skip to content

Commit

Permalink
Merge pull request #15 from open-y-subprojects/podarok-patch-1
Browse files Browse the repository at this point in the history
fix: Drupal 10
  • Loading branch information
podarok authored May 1, 2023
2 parents 05e0e10 + cbf82a8 commit c2b845c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/openy_demo_nlanding/openy_demo_nlanding.module
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ function openy_demo_nlanding_af_pages() {
$ps_node->save();

$nid = \Drupal::service('entity_type.manager')
->getStorage('node')->getQuery()
->getStorage('node')->getQuery()->accessCheck(FALSE)
->condition('title', 'Swimming Lessons at the YMCA')
->condition('type', 'landing_page')
->execute();
Expand Down

0 comments on commit c2b845c

Please sign in to comment.