From 86a0179cfa3711082ba5e9b942ff6da6a447ab45 Mon Sep 17 00:00:00 2001
From: Dominik Pfennig <dominik@suma-ev.de>
Date: Thu, 3 May 2018 08:26:40 +0200
Subject: [PATCH] Bugfix beim Botschutz

---
 app/Http/Controllers/HumanVerification.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/Http/Controllers/HumanVerification.php b/app/Http/Controllers/HumanVerification.php
index fca51a103..5e745da76 100644
--- a/app/Http/Controllers/HumanVerification.php
+++ b/app/Http/Controllers/HumanVerification.php
@@ -22,7 +22,7 @@ class HumanVerification extends Controller
                 $url = $request->input('url');
 
                 $user = DB::table('humanverification')->where('id', $id)->first();
-                if($user !== null && $user->locked === "1"){
+                if($user !== null && $user->locked === 1){
                     DB::table('humanverification')->where('id', $id)->update(['locked' => false]);
                     return redirect($url);
                 }else{
-- 
GitLab