Skip to content

Commit f24db16

Browse files
committed
empty the variable, don't unset it.
1 parent 50340b7 commit f24db16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/Library/CrudPanel/Traits/AutoSet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function setFromDb($setFields = true, $setColumns = true)
4040
}
4141
}, $this->getDbColumnsNames());
4242

43-
unset($this->autoset);
43+
$this->autoset = [];
4444
}
4545

4646
/**

0 commit comments

Comments
 (0)