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

Update MetaGer.php

parent dde38ac2
No related branches found
No related tags found
1 merge request!714Update 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;
......
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