Restrict comparison to null value only

This commit is contained in:
Bubka 2021-11-22 01:12:37 +01:00
parent 45b835bbd5
commit 025cfc5e58

View File

@ -67,7 +67,7 @@ public function show($settingName)
{
$setting = $this->settingService->get($settingName);
if (!$setting) {
if (is_null($setting)) {
abort(404);
}