From 283b665886426b7c6e481fe4d45fb1477a62c039 Mon Sep 17 00:00:00 2001 From: adametz Date: Sat, 17 Mar 2018 16:48:40 +0000 Subject: [PATCH] if hack git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3384 f459cee4-fb09-11de-96c3-f9c5f16c3c76 --- trunk/src/AppBundle/Controller/DefaultController.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/trunk/src/AppBundle/Controller/DefaultController.php b/trunk/src/AppBundle/Controller/DefaultController.php index 6bad78ee..5c8a3cff 100644 --- a/trunk/src/AppBundle/Controller/DefaultController.php +++ b/trunk/src/AppBundle/Controller/DefaultController.php @@ -150,7 +150,9 @@ class DefaultController extends Controller if ($data['typ'] ?? false) $ttUrl .= '&typ=0'; if (!empty($data['sportangebot'])) $ttUrl .= '&sportangebot='. $data['sportangebot']; }else{ - $ttUrl = 'http://www.vidado.com/booking/ibe_bp2/index.php?CID=8ce65750ce5af9d9a6b22c9b04772ea7&formular=4&engine=pauschal&showresult=1&'.$_SERVER['QUERY_STRING']; + if(strpos($_SERVER['QUERY_STRING'], 'ttexpedient')){ + $ttUrl = 'http://www.vidado.com/booking/ibe_bp2/index.php?CID=8ce65750ce5af9d9a6b22c9b04772ea7&formular=4&engine=pauschal&showresult=1&'.$_SERVER['QUERY_STRING']; + } }