mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Haciendo perfil
This commit is contained in:
@ -56,8 +56,9 @@ class Profile extends BaseController
|
||||
$session = session();
|
||||
|
||||
$data['obj'] = $this->user_model->where('id_user',$this->id_user)->first();
|
||||
if(!empty($data['obj']['date_birth'])){
|
||||
$data['obj']['date_birth'] = dateFormatWeb($data['obj']['date_birth']);
|
||||
|
||||
if(!empty($data['obj']->date_birth)){
|
||||
$data['obj']->date_birth = dateFormatWeb($data['obj']->date_birth);
|
||||
}
|
||||
$data['country'] = $this->countries_model->select('code,name')->where('data_lang',session()->get('lang')??'en')->findAll();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user