laravel-app-settings icon indicating copy to clipboard operation
laravel-app-settings copied to clipboard

Default value for removed image is different from an image that was never set

Open Bibendus83 opened this issue 5 years ago • 3 comments

I noticed that calling setting('img_setting', 'default_img') on a setting of type image has a different behavior depending if the value has never been set or if the value has been set and then the image has been removed later. In the first case default_img is returned, in the second one null is returned. I think that in both cases default_img should be returned.

Bibendus83 avatar Oct 16 '20 18:10 Bibendus83

It's fixed now? I try to call image settings, but it has not called the value

hellodit avatar Nov 11 '20 16:11 hellodit

It's fixed now? I try to call image settings, but it has not called the value

I don't see any fix on the repository, I still have the problem.

Bibendus83 avatar Nov 19 '20 09:11 Bibendus83