From 13330d3a44fea9bb9b5657033f9dd5ccc2c23f71 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 3 Aug 2023 10:55:54 +0200 Subject: [PATCH] Don't cast url to string if it's internally transformed again Also, the cast encodes the url as well, for use within HTML. This is not required if used in conjunction with ipl-html. --- application/controllers/NodeController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/NodeController.php b/application/controllers/NodeController.php index 80e6676..e5c657f 100644 --- a/application/controllers/NodeController.php +++ b/application/controllers/NodeController.php @@ -136,7 +136,7 @@ class NodeController extends Controller 'li', new Link( sprintf('%s (%s.conf)', $bpName, $fileName), - (string) Url::fromPath('businessprocess/process/show', ['config' => $fileName]) + \ipl\Web\Url::fromPath('businessprocess/process/show', ['config' => $fileName]) ) ) );