🆙 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'),
]);
@@ -13,7 +13,7 @@ class LogoGeneratorController extends Controller
{
public function index(): View|RedirectResponse
{
if (hasPermission('generate_logo') === '' || hasPermission('generate_logo') === '0') {
if (! hasPermission('generate_logo')) {
return to_route('me.show')->with([
'message' => __('You do not have permission to do this.'),
]);