Skip to content

Commit

Permalink
Merge pull request #79 from jonasraoni/feature-main-8333-add-remainin…
Browse files Browse the repository at this point in the history
…g-fks

pkp/pkp-lib#8333 Replaced CONTEXT_ID_NONE by SITE_CONTEXT_ID
  • Loading branch information
jonasraoni authored Jul 24, 2024
2 parents 9ad23c8 + cfd79cb commit 04fda93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StaticPagesPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public function callbackHandleContent($hookName, $args)
// Look for a static page with the given path
$context = $request->getContext();
$staticPage = $staticPagesDao->getByPath(
$context?->getId() ?? Application::CONTEXT_ID_NONE,
$context?->getId() ?? Application::SITE_CONTEXT_ID,
$path
);
}
Expand Down

0 comments on commit 04fda93

Please sign in to comment.