Merge branch 'ent-5618-bug-en-nombres-de-los-usuarios-en-el-owner-de-eventos' into 'develop'
Change owner event responses See merge request artica/pandorafms!3294
This commit is contained in:
commit
47686f2f51
|
@ -3377,7 +3377,7 @@ function events_page_responses($event, $childrens_ids=[])
|
|||
);
|
||||
if ($strict_user) {
|
||||
$user_name = db_get_value(
|
||||
'fullname',
|
||||
'id_user',
|
||||
'tusuario',
|
||||
'id_user',
|
||||
$config['id_user']
|
||||
|
@ -3395,14 +3395,14 @@ function events_page_responses($event, $childrens_ids=[])
|
|||
}
|
||||
|
||||
foreach ($users as $u) {
|
||||
$owners[$u['id_user']] = $u['fullname'];
|
||||
$owners[$u['id_user']] = $u['id_user'];
|
||||
}
|
||||
|
||||
if ($event['owner_user'] == '') {
|
||||
$owner_name = __('None');
|
||||
} else {
|
||||
$owner_name = db_get_value(
|
||||
'fullname',
|
||||
'id_user',
|
||||
'tusuario',
|
||||
'id_user',
|
||||
$event['owner_user']
|
||||
|
|
Loading…
Reference in New Issue