Skip to content

Commit

Permalink
Merge pull request pkp#4612 from jonasraoni/bugfix-main-10823-standar…
Browse files Browse the repository at this point in the history
…dize-pkprouter-initialization

Bugfix main 10823 standardize pkprouter initialization
  • Loading branch information
jonasraoni authored Jan 20, 2025
2 parents d12a9fb + 8498a73 commit 7d9a164
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions controllers/modals/publish/AssignToIssueHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,12 @@ public function __construct()
//
/**
* @copydoc PKPHandler::initialize()
*
* @param null|mixed $args
*/
public function initialize($request)
public function initialize($request, $args = null)
{
parent::initialize($request);
parent::initialize($request, $args);
$this->submission = $this->getAuthorizedContextObject(Application::ASSOC_TYPE_SUBMISSION);
$this->publication = $this->getAuthorizedContextObject(Application::ASSOC_TYPE_PUBLICATION);
$this->setupTemplate($request);
Expand Down
2 changes: 1 addition & 1 deletion lib/ui-library
2 changes: 1 addition & 1 deletion plugins/generic/crossref
2 changes: 2 additions & 0 deletions registry/uiLocaleKeysBackend.json
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,9 @@
"submission.upload.percentComplete",
"submission.upload.productionReady",
"submission.upload.proof",
"submission.wizard.cancel.confirmation",
"submission.wizard.changeSubmission",
"submission.wizard.submissionCancel",
"submissions.declined",
"submissions.incomplete",
"user.affiliation",
Expand Down

0 comments on commit 7d9a164

Please sign in to comment.