From e5ce357f91b0603525169189de8f971de982dbac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Sun, 4 May 2014 15:10:09 +0200 Subject: [PATCH] company startseite --- app/Controller/HomeController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controller/HomeController.php b/app/Controller/HomeController.php index b696bc0..255123a 100755 --- a/app/Controller/HomeController.php +++ b/app/Controller/HomeController.php @@ -109,7 +109,7 @@ class HomeController extends AppController { } public function company() { - if(false){ + if($this->request->is('post')){ $Email = new CakeEmail('dreamjobMain'); $Email->to('service@dream-job.eu'); $Email->from(array($this->request->data['mail']['adresse'] => $this->request->data['mail']['first_name'].' '.$this->request->data['mail']['last_name']));