You've already forked Epicnabbo-Catalogus-Updated-Daily
🆙 More fixes 🆙
This commit is contained in:
@@ -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'),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user