🆙 More fixes 🆙

This commit is contained in:
Remco
2026-01-19 22:11:00 +01:00
parent 24a2699b03
commit 5aefd89f1b
3 changed files with 3 additions and 2 deletions
@@ -14,7 +14,7 @@ class TicketController extends Controller
{
public function index(): View|RedirectResponse
{
if (hasPermission('manage_website_tickets') === '' || hasPermission('manage_website_tickets') === '0') {
if (! hasPermission('manage_website_tickets')) {
return back()->with([
'message' => __('You cannot access this page'),
]);