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) <noreply@anthropic.com>
This commit is contained in:
2026-04-14 22:23:14 +02:00
parent 49078f1853
commit 06c7651be7
2 changed files with 1 additions and 3 deletions

View File

@@ -45,5 +45,5 @@ $formId = $formId ?? 'software-product-form';
</div>
</div>
<?php Session::getCsrfInput(); ?>
<?php \MintyPHP\Session::getCsrfInput(); ?>
</form>

View File

@@ -53,8 +53,6 @@ $active = (int) ($values['active'] ?? 1);
<?php endif; ?>
<?php require __DIR__ . '/_form.phtml'; ?>
<?php Session::getCsrfInput(); ?>
</section>
<aside id="app-details-aside-section">