From 06c7651be731e09a24c535a9a5ec10cf4b3204ae Mon Sep 17 00:00:00 2001 From: fs Date: Tue, 14 Apr 2026 22:23:14 +0200 Subject: [PATCH] fix(helpdesk): fix Session class not found in software products form Use fully qualified \MintyPHP\Session in _form.phtml and remove duplicate CSRF token call from edit template (already in form partial). Co-Authored-By: Claude Opus 4.6 (1M context) --- modules/helpdesk/pages/helpdesk/software-products/_form.phtml | 2 +- .../pages/helpdesk/software-products/edit(default).phtml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/helpdesk/pages/helpdesk/software-products/_form.phtml b/modules/helpdesk/pages/helpdesk/software-products/_form.phtml index b1238a6..7baa032 100644 --- a/modules/helpdesk/pages/helpdesk/software-products/_form.phtml +++ b/modules/helpdesk/pages/helpdesk/software-products/_form.phtml @@ -45,5 +45,5 @@ $formId = $formId ?? 'software-product-form'; - + diff --git a/modules/helpdesk/pages/helpdesk/software-products/edit(default).phtml b/modules/helpdesk/pages/helpdesk/software-products/edit(default).phtml index fa6881d..1ff8b4b 100644 --- a/modules/helpdesk/pages/helpdesk/software-products/edit(default).phtml +++ b/modules/helpdesk/pages/helpdesk/software-products/edit(default).phtml @@ -53,8 +53,6 @@ $active = (int) ($values['active'] ?? 1); - -