Skip to content

Commit e42c652

Browse files
authored
Merge pull request #5296 from Laravel-Backpack/fix-quick-button
use strict comparison in quick button
2 parents 9f494d6 + 12c1e96 commit e42c652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/views/crud/buttons/quick.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
$wrapper['class'] = $wrapper['class'] ?? $defaultClass;
2121
@endphp
2222

23-
@if ($access == true || $crud->hasAccess($access))
23+
@if ($access === true || $crud->hasAccess($access))
2424
<{{ $wrapper['element'] }}
2525
@foreach ($wrapper as $attribute => $value)
2626
@if (is_string($attribute))

0 commit comments

Comments
 (0)