From 4b59208ec3e7072b679e43fdc2216170c648e9de Mon Sep 17 00:00:00 2001
From: Dominik Pfennig <dominik@suma-ev.de>
Date: Mon, 30 Jan 2017 10:29:15 +0100
Subject: [PATCH] Update MetaGer.php

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

diff --git a/app/MetaGer.php b/app/MetaGer.php
index e76c352cb..8d4d60d82 100644
--- a/app/MetaGer.php
+++ b/app/MetaGer.php
@@ -330,7 +330,7 @@ class MetaGer
     public function doBotProtection($bot)
     {
         $hash = md5(date('YmdHi'));
-        if ((preg_match("/^\d+$/s", $this->getEingabe()) || strpos($this->request->input('focus'), "%3bamp" !== FALSE) ) && $bot !== $hash) {
+        if ((preg_match("/^\d+$/s", $this->getEingabe()) || strpos($this->request->input('focus'), "%3bamp") !== FALSE ) && $bot !== $hash) {
             return true;
         } else {
             return false;
-- 
GitLab