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 a1f89b5 commit fda803c
Showing 1 changed file with 4 additions and 2 deletions.
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

0 comments on commit fda803c

Please sign in to comment.