Skip to content

Commit 2d1aee4

Browse files
izicapxpm
andauthored
Update src/app/Http/Controllers/Operations/ShowOperation.php
Co-authored-by: Pedro Martins <[email protected]>
1 parent 21a9dc4 commit 2d1aee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/Http/Controllers/Operations/ShowOperation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function show($id)
103103

104104
// remove columns that have visibleInShow set as false
105105
if (isset($column['visibleInShow'])) {
106-
if ((is_callable($column['visibleInShow']) && $column['visibleInShow']($this->data['entry']) === false) || $column['visibleInShow'] == false) {
106+
if ((is_callable($column['visibleInShow']) && $column['visibleInShow']($this->data['entry']) === false) || $column['visibleInShow'] === false) {
107107
$this->crud->removeColumn($column['key']);
108108
}
109109
}

0 commit comments

Comments
 (0)