Show category name instead of ID in link title

This commit is contained in:
nathangray 2018-10-10 10:35:31 -06:00
parent 233832b889
commit 5b14dc2f1a

View File

@ -1992,6 +1992,9 @@ class calendar_bo
case 'owner': case 'owner':
$extra_fields [$val] = Api\Accounts::id2name($event[$val], 'account_fullname'); $extra_fields [$val] = Api\Accounts::id2name($event[$val], 'account_fullname');
break; break;
case 'category':
$extra_fields [$val] = Api\Categories::id2name($event[$val]);
break;
default: default:
$extra_fields [] = $event[$val]; $extra_fields [] = $event[$val];
} }