🆙 More fixes 🆙
This commit is contained in:
1 parent
24a2699b03
commit
5aefd89f1b
3 files changed
+3
-2
No files matched your search
@@ -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