Closed pablo-gonzalez-helpwan closed 2 months ago
I have a field that changed from null to a string, it is not shown.
I think the issue is on file src/Concerns/HasSetting.php:179, the if uses $oldValues[$key] instead of the newly added $oldValue. So when an old value is null the isset() fails.
src/Concerns/HasSetting.php:179
if
$oldValues[$key]
$oldValue
isset()
Have a nullable field change to a value.
1.2.8
8.3
11
Linux
No response
What happened?
I have a field that changed from null to a string, it is not shown.
I think the issue is on file
src/Concerns/HasSetting.php:179
, theif
uses$oldValues[$key]
instead of the newly added$oldValue
. So when an old value is null theisset()
fails.How to reproduce the bug
Have a nullable field change to a value.
Package Version
1.2.8
PHP Version
8.3
Laravel Version
11
Which operating systems does with happen with?
Linux
Notes
No response