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:
@@ -45,5 +45,5 @@ $formId = $formId ?? 'software-product-form';
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php Session::getCsrfInput(); ?>
|
||||
<?php \MintyPHP\Session::getCsrfInput(); ?>
|
||||
</form>
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user