Skip to content

Commit 8b3c4f2

Browse files
committed
Fix tests
1 parent e114128 commit 8b3c4f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Resources/CP/Entries/Entries.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ private function setColumns()
4545
$columns->put('status', $status);
4646

4747
if (User::current()->cant('view-other-authors-entries', [Entry::class, $this->blueprint->parent()])) {
48-
$columns->get('author')->listable(false);
48+
$columns->get('author')?->listable(false);
4949
}
5050

5151
if ($key = $this->columnPreferenceKey) {

0 commit comments

Comments
 (0)