mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-02-17 02:41:13 +01:00
Restrict comparison to null value only
This commit is contained in:
parent
45b835bbd5
commit
025cfc5e58
@ -67,7 +67,7 @@ public function show($settingName)
|
||||
{
|
||||
$setting = $this->settingService->get($settingName);
|
||||
|
||||
if (!$setting) {
|
||||
if (is_null($setting)) {
|
||||
abort(404);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user