Skip to content

Commit

Permalink
Fix getRequest() deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
andersju committed May 24, 2021
1 parent bb138e0 commit a21492c
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 a21492c

Please sign in to comment.