#9799 fixed show value -1 in Owner value

This commit is contained in:
Daniel Cebrian 2023-01-13 09:31:19 +01:00
parent 05b8418249
commit 930fd719ff
1 changed files with 2 additions and 2 deletions

View File

@ -3358,7 +3358,7 @@ function events_page_responses($event)
$event['owner_user'],
'',
__('None'),
'N/A',
-1,
true,
false,
true,
@ -4732,7 +4732,7 @@ function events_page_general($event)
$data = [];
$data[0] = __('Owner');
if (empty($event['owner_user']) === true) {
if ($event['owner_user'] == -1) {
$data[1] = '<i>'.__('N/A').'</i>';
} else {
$user_owner = db_get_value(