Skip to content

Commit

Permalink
pkp#10934 Namespaced constant
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasraoni committed Feb 14, 2025
1 parent 90d303c commit d585c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/management/ManagementHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ public function announcements($args, $request)
$this->setupTemplate($request);
$context = $request->getContext();
$dispatcher = $request->getDispatcher();
$publicFileApiUrl = $dispatcher->url($request, ROUTE_API, $context->getPath(), '_uploadPublicFile');
$publicFileApiUrl = $dispatcher->url($request, PKPApplication::ROUTE_API, $context->getPath(), '_uploadPublicFile');

$apiUrl = $request->getDispatcher()->url($request, PKPApplication::ROUTE_API, $request->getContext()->getPath(), 'announcements');

Expand Down

0 comments on commit d585c0e

Please sign in to comment.