Skip to content

Commit 14f0669

Browse files
authored
getFillable() instead of $this->fillable
1 parent 327691c commit 14f0669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Concern/ModelTree.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ trait ModelTree
1616

1717
public function initializeModelTree()
1818
{
19-
if (!empty($this->fillable)) {
19+
if (!empty($this->getFillable())) {
2020
$this->mergeFillable([
2121
$this->determineOrderColumnName(),
2222
$this->determineParentColumnName(),

0 commit comments

Comments
 (0)