From ad1e5f4d018ab71766d6cd6ff3eaa85c6cc3fead Mon Sep 17 00:00:00 2001
From: Dominik Pfennig <dominik@suma-ev.de>
Date: Fri, 12 Aug 2016 12:32:43 +0200
Subject: [PATCH] Werbung aus der englischen Suche entfernt

---
 app/MetaGer.php | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/app/MetaGer.php b/app/MetaGer.php
index aad740a27..286af4999 100644
--- a/app/MetaGer.php
+++ b/app/MetaGer.php
@@ -270,6 +270,11 @@ class MetaGer
 
         $this->results = $paginatedSearchResults;
 
+        if( LaravelLocalization::getCurrentLocale() === "en" )
+        {
+            $this->ads = [];
+        }
+
         $this->validated = false;
         if( isset($this->password) )
         {
-- 
GitLab