diff --git a/app/MetaGer.php b/app/MetaGer.php index 868f8741d093a4a77969f8b9e488ed8c28d1eec4..67a3bb106f344f68cd7df00510a099ac02452101 100644 --- a/app/MetaGer.php +++ b/app/MetaGer.php @@ -165,12 +165,7 @@ class MetaGer ->with('resultcount', sizeof($viewResults)); break; case 'atom10': - return response()->view('metager3resultsatom10') - ->with('results', $viewResults) - ->with('eingabe', $this->eingabe) - ->with('apiAuthorized', $this->apiAuthorized) - ->with('metager', $this) - ->with('resultcount', sizeof($viewResults)) + return response()->view('metager3resultsatom10', ['results' => $viewResults,'eingabe' => $this->eingabe,'metager' => $this,'resultcount' => sizeof($viewresults)]) ->header('Content-Type', 'application/xml'); break; case 'result-count':