Skip to content

Commit

Permalink
Merge pull request pkp#1814 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 bfe2b39 + 1c690c8 commit 8d57fd4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/ui-library
6 changes: 4 additions & 2 deletions pages/manageCatalog/ManageCatalogHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,15 @@ public function authorize($request, &$args, $roleAssignments)

/**
* @copydoc PKPHandler::initialize()
*
* @param null|mixed $args
*/
public function initialize($request)
public function initialize($request, $args = null)
{
$this->setupTemplate($request);

// Call parent method.
parent::initialize($request);
parent::initialize($request, $args);
}


Expand Down
2 changes: 2 additions & 0 deletions registry/uiLocaleKeysBackend.json
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,9 @@
"submission.upload.percentComplete",
"submission.upload.productionReady",
"submission.upload.proof",
"submission.wizard.cancel.confirmation",
"submission.wizard.changeSubmission",
"submission.wizard.submissionCancel",
"submission.workflowType.editedVolume.label",
"submissions.declined",
"submissions.incomplete",
Expand Down

0 comments on commit 8d57fd4

Please sign in to comment.