#258: link-website auf firmenseite geht nicht
This commit is contained in:
parent
eb9b4a7a99
commit
0bde5aff55
|
@ -66,7 +66,9 @@ class RegistrationController extends AppController {
|
||||||
}else{
|
}else{
|
||||||
$this->MiconwareSession->setFlash(__('dreamjob.agb.error.notAccept'),'flash',array('alert'=>'danger'));
|
$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('result',$regResult);
|
||||||
$this->set('cities',$this->DreamjobListCity->find('list'));
|
$this->set('cities',$this->DreamjobListCity->find('list'));
|
||||||
$this->set('branches',$this->DreamjobListBranch->find('list'));
|
$this->set('branches',$this->DreamjobListBranch->find('list'));
|
||||||
|
|
|
@ -295,6 +295,8 @@ class UserController extends AppController {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
if(empty($profil['DreamjobCompany']['website']))
|
||||||
|
$profil['DreamjobCompany']['website'] = 'http://';
|
||||||
$this->request->data = $profil;
|
$this->request->data = $profil;
|
||||||
$this->set('profil',$profil);
|
$this->set('profil',$profil);
|
||||||
$this->set('graducations',$this->DreamjobListGraducation->find('list'));
|
$this->set('graducations',$this->DreamjobListGraducation->find('list'));
|
||||||
|
|
Loading…
Reference in New Issue