mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
#9799 fixed show value -1 in Owner value
This commit is contained in:
parent
05b8418249
commit
930fd719ff
@ -3358,7 +3358,7 @@ function events_page_responses($event)
|
|||||||
$event['owner_user'],
|
$event['owner_user'],
|
||||||
'',
|
'',
|
||||||
__('None'),
|
__('None'),
|
||||||
'N/A',
|
-1,
|
||||||
true,
|
true,
|
||||||
false,
|
false,
|
||||||
true,
|
true,
|
||||||
@ -4732,7 +4732,7 @@ function events_page_general($event)
|
|||||||
|
|
||||||
$data = [];
|
$data = [];
|
||||||
$data[0] = __('Owner');
|
$data[0] = __('Owner');
|
||||||
if (empty($event['owner_user']) === true) {
|
if ($event['owner_user'] == -1) {
|
||||||
$data[1] = '<i>'.__('N/A').'</i>';
|
$data[1] = '<i>'.__('N/A').'</i>';
|
||||||
} else {
|
} else {
|
||||||
$user_owner = db_get_value(
|
$user_owner = db_get_value(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user