Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
c251aaf2
Commit
c251aaf2
authored
May 09, 2017
by
Karl Hasselbring
Browse files
Suche funktioniert jetzt wieder auch für nicht eigene foki
parents
505ba230
4817fac4
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/MetaGerSearch.php
View file @
c251aaf2
...
...
@@ -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
())])));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment