From 7bf04402df6df48b91dd1d9cd0ea4d7721c105eb Mon Sep 17 00:00:00 2001 From: VESSILLER Date: Fri, 17 Nov 2023 22:27:39 +0100 Subject: [PATCH] Todo add token only on form create or edit url --- htdocs/webportal/class/context.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/webportal/class/context.class.php b/htdocs/webportal/class/context.class.php index 8b73ef103a0..89142fe803a 100644 --- a/htdocs/webportal/class/context.class.php +++ b/htdocs/webportal/class/context.class.php @@ -271,6 +271,7 @@ class Context */ public function getControllerUrl($controller = false, $moreParams = '', $addToken = true) { + // TODO : addToken parameter on auto to detect (create or edit) action and add token on url $url = $this->rootUrl; if (empty($controller)) {