Skip to content

Commit

Permalink
Merge pull request #2 from Kungbib/feature/fix-request-deprecation-wa…
Browse files Browse the repository at this point in the history
…rning

Fix getRequest() deprecation warning
  • Loading branch information
andersju authored May 24, 2021
2 parents bb138e0 + a21492c commit 1b87855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion idkbse/IdkbsePlugin.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function register($category, $path, $mainContextId = NULL) {
}

function handleFormDisplay($hookName, $args) {
$request = PKPApplication::getRequest();
$request = Application::get()->getRequest();
$templateMgr = TemplateManager::getManager($request);
$template =& $args[1];
switch ($template) {
Expand Down

0 comments on commit 1b87855

Please sign in to comment.