diff --git a/app/Http/Controllers/MetaGerSearch.php b/app/Http/Controllers/MetaGerSearch.php index 340951deb657a86d6793390339151fd48ef0ccb0..6ff189373365db4a7a7f34d18b59e28b59bac098 100644 --- a/app/Http/Controllers/MetaGerSearch.php +++ b/app/Http/Controllers/MetaGerSearch.php @@ -12,7 +12,7 @@ class MetaGerSearch extends Controller public function search(Request $request, MetaGer $metager) { $focus = $request->input("focus", "web"); - if ($focus !== "angepasst" && startsWith($focus, "focus_")) { + if ($focus !== "angepasst" && $this->startsWith($focus, "focus_")) { $metager->parseFormData($request); if ($metager->doBotProtection($request->input('bot', ""))) { return redirect(LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), url("/noaccess", ['redirect' => base64_encode(url()->full())])));