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:
Daniel Rodriguez 2020-07-13 11:12:02 +02:00
commit 47686f2f51
1 changed files with 3 additions and 3 deletions

View File

@ -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']