Skip to content

Commit

Permalink
pkp#56 Fix array parameter at Dispacher::url function
Browse files Browse the repository at this point in the history
  • Loading branch information
defstat committed Sep 16, 2024
1 parent 45373b2 commit 289b4dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/ArticleFront.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ function createArticleMeta(Submission $submission, Journal $journal, Section $se
$router = $request->getRouter();
$dispatcher = $router->getDispatcher();

$url = $dispatcher->url($request, PKPApplication::ROUTE_PAGE, $journal->getPath(), 'article', 'view', $publication->getData('urlPath') ?? $submission->getId(), null, null, true);
$url = $dispatcher->url($request, PKPApplication::ROUTE_PAGE, $journal->getPath(), 'article', 'view', [$publication->getData('urlPath') ?? $submission->getId()], null, null, true);

$articleMetaElement
->appendChild($this->createElement('self-uri'))
Expand Down

0 comments on commit 289b4dc

Please sign in to comment.