Skip to content
Snippets Groups Projects
Commit dde38ac2 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Update MetaGer.php

parent c153952e
No related branches found
No related tags found
1 merge request!714Update MetaGer.php
...@@ -330,7 +330,7 @@ class MetaGer ...@@ -330,7 +330,7 @@ class MetaGer
public function doBotProtection($bot) public function doBotProtection($bot)
{ {
$hash = md5(date('YmdHi')); $hash = md5(date('YmdHi'));
if (preg_match("/^\d+$/s", $this->getEingabe()) && $bot !== $hash) { if ((preg_match("/^\d+$/s", $this->getEingabe()) || strpos($this->request->input('focus'), "%3bamp" !== FALSE) ) && $bot !== $hash) {
return true; return true;
} else { } else {
return false; return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment