We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 483a4d6 commit 199a953Copy full SHA for 199a953
src/Database/Eloquent/Concerns/HasAttributes.php
@@ -12,7 +12,7 @@ protected function getArrayableAppends()
12
if (is_string($k)) {
13
$columns = explode('|', $k);
14
foreach ($columns as $column) {
15
- if (!isset($this->attributes[$column])) {
+ if (!isset($this->$column)) {
16
unset($this->appends[$k]);
17
}
18
0 commit comments