Commit aa925c27 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Update MetaGer.php

parent 19bf89fd
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment