Skip to content

Commit

Permalink
pkp/pkp-lib#10823 Standardized PKPRouter::initialize() call
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasraoni committed Jan 19, 2025
1 parent 9371ae1 commit 9249ed5
Showing 1 changed file with 4 additions and 2 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

0 comments on commit 9249ed5

Please sign in to comment.