Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsgiehl <stefan@matomo.org>2022-05-25 18:50:05 +0300
committersgiehl <stefan@matomo.org>2022-05-25 18:50:05 +0300
commit87d2e7053ad61af77568db8f7858e01ce0f0dfcb (patch)
tree0bedcac7d99bdb418da72086ee1b4917b58307e6
parent74846ca8cff4049b6cdffe4ee7605d86d778d892 (diff)
fix anchor links on API pagem19252
-rw-r--r--plugins/API/Controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/API/Controller.php b/plugins/API/Controller.php
index 7047173e1e..e73cc6a37f 100644
--- a/plugins/API/Controller.php
+++ b/plugins/API/Controller.php
@@ -77,7 +77,7 @@ class Controller extends \Piwik\Plugin\Controller
$ApiDocumentation = new DocumentationGenerator();
$view->countLoadedAPI = Proxy::getInstance()->getCountRegisteredClasses();
- $view->list_api_methods_with_links = $ApiDocumentation->getApiDocumentationAsString();
+ $view->list_api_methods_with_links = str_replace('href=\'#', 'href=\'#/', $ApiDocumentation->getApiDocumentationAsString());
return $view->render();
}