#258: link-website auf firmenseite geht nicht

This commit is contained in:
Martin Müller 2014-05-06 17:59:42 +02:00
parent eb9b4a7a99
commit 0bde5aff55
2 changed files with 5 additions and 1 deletions

View File

@ -66,7 +66,9 @@ class RegistrationController extends AppController {
}else{
$this->MiconwareSession->setFlash(__('dreamjob.agb.error.notAccept'),'flash',array('alert'=>'danger'));
}
}
}else
if(empty($this->request->data['DreamjobCompany']['website']))
$this->request->data['DreamjobCompany']['website'] ='http://';
$this->set('result',$regResult);
$this->set('cities',$this->DreamjobListCity->find('list'));
$this->set('branches',$this->DreamjobListBranch->find('list'));

View File

@ -295,6 +295,8 @@ class UserController extends AppController {
}
}
if(empty($profil['DreamjobCompany']['website']))
$profil['DreamjobCompany']['website'] = 'http://';
$this->request->data = $profil;
$this->set('profil',$profil);
$this->set('graducations',$this->DreamjobListGraducation->find('list'));